-
Bug
-
Resolution: Fixed
-
Minor
With nested parallel branch, parallelStartNode is passed as null. Its supposed to be non-null value, this behavior has consequence of causing NPE.
public void parallelBranchStart(@Nonnull FlowNode parallelStartNode, @Nonnull FlowNode branchStartNode, @Nonnull ForkScanner scanner) {}
node { stage ('test') { echo ('Testing'); parallel nestedBranch: { echo 'nested Branch' stage('nestedBranchStage') { echo 'running nestedBranchStage' parallel secondLevelNestedBranch1: { echo 'secondLevelNestedBranch1' } } }, failFast: false } }
- links to
[JENKINS-39841] null parallelStartNode in StandardChunkVisitor.parallelBranchStart()
Labels | New: blueocean |
Description |
Original:
With nested parallel branch, parallelStartNode is passed as null. Its supposed to be non-null value, this behavior has consequence of causing NPE. {code} public void parallelBranchStart(@Nonnull FlowNode parallelStartNode, @Nonnull FlowNode branchStartNode, @Nonnull ForkScanner scanner) {} {code} node { stage ('test') { echo ('Testing'); parallel nestedBranch: { echo 'nested Branch' stage('nestedBranchStage') { echo 'running nestedBranchStage' parallel secondLevelNestedBranch1: { echo 'secondLevelNestedBranch1' } } }, failFast: false } } {code} {code} |
New:
With nested parallel branch, parallelStartNode is passed as null. Its supposed to be non-null value, this behavior has consequence of causing NPE. {code} public void parallelBranchStart(@Nonnull FlowNode parallelStartNode, @Nonnull FlowNode branchStartNode, @Nonnull ForkScanner scanner) {} {code} {code} node { stage ('test') { echo ('Testing'); parallel nestedBranch: { echo 'nested Branch' stage('nestedBranchStage') { echo 'running nestedBranchStage' parallel secondLevelNestedBranch1: { echo 'secondLevelNestedBranch1' } } }, failFast: false } } {code} |
Assignee | New: Sam Van Oort [ svanoort ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Closed [ 6 ] |
Remote Link | New: This issue links to "CloudBees Internal OSS-1690 (Web Link)" [ 18611 ] |