|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

The cause of this is that by the time the shell step is aborted, CpsFlowExecution reports three running StepExecutions (sh as well as both node steps.)
They all get stop()-ed, and everyone is in a mad rash of cancelling the execution.
In particular, ExecutorStepExecution.stop() declares the whole step a failure, without waiting for the completion of the body blok, which creates a wrong nesting structure.