|
||||||||
|
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 |
||||||||
- [JIRA] (JENKINS-15900) A build failure i... [email protected] (JIRA)
- [JIRA] (JENKINS-15900) A build fail... [email protected] (JIRA)
- [JIRA] (JENKINS-15900) A build fail... [email protected] (JIRA)
- [JIRA] (JENKINS-15900) A build fail... [email protected] (JIRA)

Took a quick look into the code and found out that the "parallel method" (find it here at about line 257: https://github.com/jenkinsci/build-flow-plugin/blob/master/src/main/groovy/com/cloudbees/plugins/flow/FlowDSL.groovy) does not evaluate the previous flow state (like "build()") and ignores the previous result.
To prove that, I did something like this:
out.println flowRun.state.result parallel ( { build("test-b") }, // this build fails { build("test-c") } ) out.println flowRun.state.result parallel ( { out.println flowRun.state.result build("test-d") }, { out.println flowRun.state.result build("test-e") } ) out.println flowRun.state.result