Skip to content

Commit

Permalink
Merge pull request #1644 from mstock/docs-jenkins
Browse files Browse the repository at this point in the history
docs(jenkins): Update Jenkins documentation
  • Loading branch information
dignifiedquire committed Oct 22, 2015
2 parents f5781db + e906797 commit 2077fd8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/plus/03-jenkins.md
Expand Up @@ -29,8 +29,9 @@ junitReporter: {
},
```

Please note the `test-result.xml` file will be written to the present
working directory (and you will need to tell Jenkins where to find it).
Please note the `test-results.xml` files will be written to subdirectories
named after the browsers the tests were run in inside the present working
directory (and you will need to tell Jenkins where to find them).

## Create a new Jenkins Job
In Jenkins, start a new job for Angular/Karma with the basic
Expand All @@ -51,8 +52,10 @@ $ PHANTOMJS_BIN=/usr/local/bin/phantomjs #or wherever PhantomJS happens to be in
Further down the page, in the Post-build Actions sub-section add a
`Publish JUnit test result report` from the Post-build action drop
down menu. When the textbox labeled Test report XMLs appears, enter
the path to where the `test-results.xml` is relative to the root of
your Jenkins job workspace.
the path to where the `test-results.xml` files are relative to the root of your
Jenkins job workspace (you can use wildcards for this, so `**/test-results.xml`
will find the file even if it was stored inside a browser-specific
subdirectory).



Expand Down

0 comments on commit 2077fd8

Please sign in to comment.