Skip to content

Commit

Permalink
Fixed JUnit path for gradle test-results in Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
macg33zr committed Sep 28, 2017
1 parent 5a1e301 commit 194b329
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pipeline {
post {
always {
echo 'pipeline unit tests completed - recording JUnit results'
junit 'build/reports/**/*.xml'
junit 'build/test-results/**/*.xml'
}

success {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
Jenkinsfile.post(groovy.lang.Closure)
Jenkinsfile.always(groovy.lang.Closure)
Jenkinsfile.echo(pipeline unit tests completed - recording JUnit results)
Jenkinsfile.junit(build/reports/**/*.xml)
Jenkinsfile.junit(build/test-results/**/*.xml)
Jenkinsfile.success(groovy.lang.Closure)
Jenkinsfile.echo(pipeline unit tests PASSED)
Jenkinsfile.failure(groovy.lang.Closure)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
Jenkinsfile.post(groovy.lang.Closure)
Jenkinsfile.always(groovy.lang.Closure)
Jenkinsfile.echo(pipeline unit tests completed - recording JUnit results)
Jenkinsfile.junit(build/reports/**/*.xml)
Jenkinsfile.junit(build/test-results/**/*.xml)
Jenkinsfile.success(groovy.lang.Closure)
Jenkinsfile.echo(pipeline unit tests PASSED)
Jenkinsfile.failure(groovy.lang.Closure)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
Jenkinsfile.post(groovy.lang.Closure)
Jenkinsfile.always(groovy.lang.Closure)
Jenkinsfile.echo(pipeline unit tests completed - recording JUnit results)
Jenkinsfile.junit(build/reports/**/*.xml)
Jenkinsfile.junit(build/test-results/**/*.xml)
Jenkinsfile.success(groovy.lang.Closure)
Jenkinsfile.echo(pipeline unit tests PASSED)
Jenkinsfile.failure(groovy.lang.Closure)
Expand Down

0 comments on commit 194b329

Please sign in to comment.