Skip to content

Commit

Permalink
ci: munge "github.com/docker/app" to "docker-app" in junit files
Browse files Browse the repository at this point in the history
Jenkins interprets the default as nested folders `github` → `com/docker/app`
(presumably due to thinking it is using Java style naming).

In gotestyourself/gotestsum#50 I requested support
for something in `gotestsum` itself but for now this will do.

Signed-off-by: Ian Campbell <[email protected]>
  • Loading branch information
Ian Campbell committed Apr 1, 2019
1 parent febb847 commit fd6d0e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ pipeline {
}
post {
always {
sh 'sed -E -e \'s,"github.com/docker/app([^"]*)","docker-app\1",g\' _build/test-results/*'
junit 'src/github.com/docker/app/_build/test-results/*.xml'
sh 'docker rmi docker/cnab-app-base:$BUILD_TAG-coverage'
deleteDir()
Expand Down
1 change: 1 addition & 0 deletions Jenkinsfile.baguette
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ pipeline {
}
post {
always {
sh 'sed -E -e \'s,"github.com/docker/app([^"]*)","docker-app\1",g\' _build/test-results/*'
junit 'src/github.com/docker/app/_build/test-results/*.xml'
sh 'docker rmi docker/cnab-app-base:$BUILD_TAG-coverage'
deleteDir()
Expand Down

0 comments on commit fd6d0e9

Please sign in to comment.