Well, it doesn't work...
The issue is because we use parallel() step and thus we have several maven runs starting in parallel. So they start with empty failing tests but one of them can contribute failing tests to the others since all failing tests are accruing in currentBuild... :(
So I really need to find a way to identify how to get the failing tests for a given maven run...
Is there anything in CaseResult/TestResult would allow me to do this for example?
Any idea?
thanks
-Vincent