We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1384b5 commit 3eee20aCopy full SHA for 3eee20a
dev-support/Jenkinsfile
@@ -30,8 +30,10 @@ def publishJUnitResults() {
30
boolean surefireReportsExist = findCmdExitCode == 0
31
if (surefireReportsExist) {
32
echo "XML files found under surefire-reports, running junit"
33
+ // The path should be relative to WORKSPACE for the junit.
34
+ SRC = "${SOURCEDIR}/**/target/surefire-reports/*.xml".replace("$WORKSPACE/","")
35
try {
- junit "${SOURCEDIR}/**/target/surefire-reports/*.xml"
36
+ junit "${SRC}"
37
} catch(e) {
38
echo 'junit processing: ' + e.toString()
39
}
0 commit comments