Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
feat(karma-junit-reporter): use fix to define outputFile
Browse files Browse the repository at this point in the history
  • Loading branch information
erkobridee committed Sep 8, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent c0b88a7 commit 9afcfe6
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jenkins-ci-and-karma-junit-reporter",
"version": "0.2.0",
"version": "0.3.0-alpha",
"homepage": "https://github.com/erkobridee/jenkins-ci-and-karma-junit-reporter.git",
"authors": [
"Erko Bridee de Almeida Cabrera <erko.bridee@gmail.com>"
2 changes: 1 addition & 1 deletion jenkins-ci_docs/execute_shell.md
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@

* on `Add post-build action` combobox select `Publish JUnit test result report`

* on `Test report XMLs` field define `tests_out/junit/*.xml`
* on `Test report XMLs` field define `tests_out/junit/**/*.xml`

![jenkins git repo](steps_images/step_04.png)

2 changes: 1 addition & 1 deletion jenkins-ci_docs/maven.md
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@

* on `Add post-build action` combobox select `Publish JUnit test result report`

* on `Test report XMLs` field define `tests_out/junit/*.xml`
* on `Test report XMLs` field define `tests_out/junit/**/*.xml`

![jenkins git repo](steps_images/step_04.png)

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jenkins-ci-and-karma-junit-reporter",
"version": "0.2.0",
"version": "0.3.0-alpha",
"private": true,
"homepage": "https://github.com/erkobridee/jenkins-ci-and-karma-junit-reporter.git",
"authors": [
@@ -42,7 +42,7 @@
"karma-firefox-launcher": "^0.1.6",
"karma-jasmine": "^0.3.6",
"karma-jasmine-html-reporter": "^0.1.8",
"karma-junit-reporter": "^0.3.4",
"karma-junit-reporter": "karma-runner/karma-junit-reporter#b4583b53563ea8e9e0a127705defcc8359c7635c",
"karma-ng-html2js-preprocessor": "^0.1.2",
"karma-phantomjs-launcher": "^0.2.1",
"karma-requirejs": "^0.2.2",
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@

<groupId>com.github.erkobridee.jenkins-ci-and-karma-junit-reporter</groupId>
<artifactId>jenkins-ci-and-karma-junit-reporter</artifactId>
<version>0.2.0</version>
<version>0.3.0-alpha</version>
<name>Example to execute Karma Runner through Jenkinks CI and load xml report file</name>
<packaging>pom</packaging>

3 changes: 2 additions & 1 deletion tools/karma-configs/index.js
Original file line number Diff line number Diff line change
@@ -44,7 +44,8 @@ module.exports = {
colors: false,
logLevel: 'ERROR',
junitReporter: {
outputDir: 'tests_out/junit'
outputDir: 'tests_out/junit',
outputFile: 'test-results.xml'
},
coverageReporter: {
type : 'lcovonly', // produces an lcov.info file

0 comments on commit 9afcfe6

Please sign in to comment.