Hi guys,

I know how to get the failing tests for a job with:

AbstractTestResultAction testResultAction = currentBuild.rawBuild.getAction(
AbstractTestResultAction.class)
def failedTests = testResultAction.getResult().getFailedTests()

However, my pipeline job is executing Maven several times. 

Is there a simple way to do this or do I need to save the failing tests in 
a variable after each maven execution to compute the new failing tests?

Thanks
-Vincent


-- 
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/115d5de6-17dd-4e2a-bedf-21cbe787dfb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to