-
Improvement
-
Resolution: Unresolved
-
Major
-
None
Improved visualization for multiple "parallel"s within the same stage block isn't planned at this time
There is some debate on how this concept can be visualised in Blue Ocean. Much like nesting stages (see JENKINS-38442) this is difficult for us to visualize in a consistent way that meets user expectations.
The current behaviour in Blue Ocean is to show all the parallels belonging to a stage under the same stage. However, this is currently not working due to a bug in pipeline - see JENKINS-39839.
The following pipeline
node { stage('S1') { parallel 'S1.0': { sh('sleep 10') } parallel 'S1.1.1': { sh('sleep 10') }, 'S1.1.2': { sh('sleep 10') } } stage('S2') { parallel 'S2.0': { sh('sleep 10') } parallel 'S2.1': { sh('sleep 10') } } }
- S1.0 is not displayed
- S2.0 and S2.1 should be under stage 2
- S2.0 and S2.1 are not marked as finished
Additional note:
Made with Pipeline plugin patched with https://github.com/jenkinsci/blueocean-plugin/pull/605
- is blocked by
-
JENKINS-39839 Missing StandardChunkVisitor.parallelBranchEnd() and parallelEnd() events if there are nested parallels
-
- Closed
-
[JENKINS-39847] Improved visualization for multiple "parallel"s within the same stage block
Description |
Original:
The following pipeline {code} node { stage('S1') { parallel 'S1.0': { sh('sleep 10') } parallel 'S1.1.1': { sh('sleep 10') }, 'S1.1.2': { sh('sleep 10') } } stage('S2') { parallel 'S2.0': { sh('sleep 10') } parallel 'S2.1': { sh('sleep 10') } } } {code} Is represented as this: !piprep.png|thumbnail! - S2.0 and S2.1 should be under stage 2 - S2.0 and S2.1 are not marked as finished Additional note: Made with Pipeline plugin patched with https://github.com/jenkinsci/blueocean-plugin/pull/605 |
New:
The following pipeline {code} node { stage('S1') { parallel 'S1.0': { sh('sleep 10') } parallel 'S1.1.1': { sh('sleep 10') }, 'S1.1.2': { sh('sleep 10') } } stage('S2') { parallel 'S2.0': { sh('sleep 10') } parallel 'S2.1': { sh('sleep 10') } } } {code} Is represented as this: !piprep.png|thumbnail! - S1.0 is not displayed - S2.0 and S2.1 should be under stage 2 - S2.0 and S2.1 are not marked as finished Additional note: Made with Pipeline plugin patched with https://github.com/jenkinsci/blueocean-plugin/pull/605 |
Link |
New:
This issue is blocked by |
Epic Link | New: JENKINS-35750 [ 171713 ] |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Assignee | New: Sam Van Oort [ svanoort ] |
Assignee | Original: Sam Van Oort [ svanoort ] |
Description |
Original:
The following pipeline {code} node { stage('S1') { parallel 'S1.0': { sh('sleep 10') } parallel 'S1.1.1': { sh('sleep 10') }, 'S1.1.2': { sh('sleep 10') } } stage('S2') { parallel 'S2.0': { sh('sleep 10') } parallel 'S2.1': { sh('sleep 10') } } } {code} Is represented as this: !piprep.png|thumbnail! - S1.0 is not displayed - S2.0 and S2.1 should be under stage 2 - S2.0 and S2.1 are not marked as finished Additional note: Made with Pipeline plugin patched with https://github.com/jenkinsci/blueocean-plugin/pull/605 |
New:
{panel:title=Support for multiple "parallel" within the same stage block isn't planned at this time |titleBGColor=lightgrey} There is some debate on how this concept can be visualised in Blue Ocean. Much like nesting stages (see {panel} The following pipeline {code} node { stage('S1') { parallel 'S1.0': { sh('sleep 10') } parallel 'S1.1.1': { sh('sleep 10') }, 'S1.1.2': { sh('sleep 10') } } stage('S2') { parallel 'S2.0': { sh('sleep 10') } parallel 'S2.1': { sh('sleep 10') } } } {code} Is represented as this: !piprep.png|thumbnail! - S1.0 is not displayed - S2.0 and S2.1 should be under stage 2 - S2.0 and S2.1 are not marked as finished Additional note: Made with Pipeline plugin patched with https://github.com/jenkinsci/blueocean-plugin/pull/605 |
Description |
Original:
{panel:title=Support for multiple "parallel" within the same stage block isn't planned at this time |titleBGColor=lightgrey} There is some debate on how this concept can be visualised in Blue Ocean. Much like nesting stages (see {panel} The following pipeline {code} node { stage('S1') { parallel 'S1.0': { sh('sleep 10') } parallel 'S1.1.1': { sh('sleep 10') }, 'S1.1.2': { sh('sleep 10') } } stage('S2') { parallel 'S2.0': { sh('sleep 10') } parallel 'S2.1': { sh('sleep 10') } } } {code} Is represented as this: !piprep.png|thumbnail! - S1.0 is not displayed - S2.0 and S2.1 should be under stage 2 - S2.0 and S2.1 are not marked as finished Additional note: Made with Pipeline plugin patched with https://github.com/jenkinsci/blueocean-plugin/pull/605 |
New:
{panel:title=Improved visualization for multiple "parallel"s within the same stage block isn't planned at this time |titleBGColor=lightgrey} There is some debate on how this concept can be visualised in Blue Ocean. Much like nesting stages (see {panel} The following pipeline {code} node { stage('S1') { parallel 'S1.0': { sh('sleep 10') } parallel 'S1.1.1': { sh('sleep 10') }, 'S1.1.2': { sh('sleep 10') } } stage('S2') { parallel 'S2.0': { sh('sleep 10') } parallel 'S2.1': { sh('sleep 10') } } } {code} Is represented as this: !piprep.png|thumbnail! - S1.0 is not displayed - S2.0 and S2.1 should be under stage 2 - S2.0 and S2.1 are not marked as finished Additional note: Made with Pipeline plugin patched with https://github.com/jenkinsci/blueocean-plugin/pull/605 |
Summary | Original: Misrepresentation of multiple parallels | New: Improved visualization for multiple "parallel"s within the same stage block |
Description |
Original:
{panel:title=Improved visualization for multiple "parallel"s within the same stage block isn't planned at this time |titleBGColor=lightgrey} There is some debate on how this concept can be visualised in Blue Ocean. Much like nesting stages (see {panel} The following pipeline {code} node { stage('S1') { parallel 'S1.0': { sh('sleep 10') } parallel 'S1.1.1': { sh('sleep 10') }, 'S1.1.2': { sh('sleep 10') } } stage('S2') { parallel 'S2.0': { sh('sleep 10') } parallel 'S2.1': { sh('sleep 10') } } } {code} Is represented as this: !piprep.png|thumbnail! - S1.0 is not displayed - S2.0 and S2.1 should be under stage 2 - S2.0 and S2.1 are not marked as finished Additional note: Made with Pipeline plugin patched with https://github.com/jenkinsci/blueocean-plugin/pull/605 |
New:
{panel:title=Improved visualization for multiple "parallel"s within the same stage block isn't planned at this time |titleBGColor=lightgrey} There is some debate on how this concept can be visualised in Blue Ocean. Much like nesting stages (see The current behaviour in Blue Ocean is to show all the parallels belonging to a stage under the same stage. {panel} The following pipeline {code} node { stage('S1') { parallel 'S1.0': { sh('sleep 10') } parallel 'S1.1.1': { sh('sleep 10') }, 'S1.1.2': { sh('sleep 10') } } stage('S2') { parallel 'S2.0': { sh('sleep 10') } parallel 'S2.1': { sh('sleep 10') } } } {code} Is represented as this: !piprep.png|thumbnail! - S1.0 is not displayed - S2.0 and S2.1 should be under stage 2 - S2.0 and S2.1 are not marked as finished Additional note: Made with Pipeline plugin patched with https://github.com/jenkinsci/blueocean-plugin/pull/605 |