Code changed in jenkins
User: Kohsuke Kawaguchi
Path:
cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsStepContext.java
cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsThread.java
cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsThreadGroup.java
http://jenkins-ci.org/commit/workflow-plugin/68de87c231d01605f61344cc3eccbafcbaf71470
Log:
JENKINS-25504

The previous attempt failed because CpsStepContext can get duplicated because of persistence.

This is a weaker fix that only waits for the "primary" body execution. That is, this doesn't work correctly if a Step is like parallel step that executes multiple bodies at the same time.

That said, the current ParallelStep implementation never reports itself completed until all the bodies check in, so this code should work correctly with all the known Step impls.

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.

Reply via email to