-
Bug
-
Resolution: Unresolved
-
Minor
-
None
The Job-level trend graphs including the latest test result link for Junit are not showing up in pipeline job. I can see the reports xml are getting generated inside **/target/surefire-reports. is it something I am missing?
I have configured my "Test" stage like below:
stage("Test") { try { // Any maven phase that triggers the test phase can be used here. sh 'mvn clean test -B' } catch(err) { junit '**/target/surefire-reports/TEST-*.xml' if (currentBuild.result == 'UNSTABLE') { currentBuild.result = 'FAILURE' } throw err } }