Hi!

I am migrating our java/maven build pipeline to a Jenkinsfile, so both the
unit tests (maven-surefire-plugin) and integration tests
(maven-failsafe-plugin) will be run inside the same pipeline, but in
different stages.

How can I separate the test results for unit tests and integration tests in
Jenkins? I am collecting test results like this:

for unit tests:
step([$class: 'JUnitResultArchiver', testResults:
'**/target/surefire-reports/*.xml'])

for integration tests:
step([$class: 'JUnitResultArchiver', testResults:
'**/target/failsafe-reports/*.xml'])

And they end up as a mixed list under "Test Result" for every build.

Since they were separate jobs before, they were separated in Jenkins as
well. Would be nice to have them as separated list also in the Jenkins 2.x
pipeline, but how?

Best regards,
 stefan.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CABwQARsD8f53_JVd%3D3OGPr5b2bSOBUoG_jYwqj50L4QNBSo3gQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to