-
Story
-
Resolution: Duplicate
-
Major
-
-
Blue Ocean 1.8.0
In progress - one level of visualization below parent stage. Additional research and feedback will help us determine future visualizations.
I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps.
Example 1
def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } }
Example 2
node() { stage('Build') { println 'I prepare the build for the parallel steps' } stage('Test') { parallel ( "win7-vs2012" : { stage("checkout") { }; stage("build") { }; stage("test") { } }, "win10-vs2015" : { stage("checkout") { }; stage("build") { }; stage("test") { }}, "linux-gcc5" : { stage("checkout") { }; stage("build") { }; stage("test") { } } ) } }
- blocks
-
JENKINS-42062 Inputs not showing in inner most nested parallels
-
- Closed
-
-
JENKINS-35836 Steps outside a stage or within a stage but outside a parallel do not get visualized
-
- Closed
-
- duplicates
-
JENKINS-49050 I can view my sequential declarative pipeline stages in the pipeline visualization plugin
-
- Closed
-
- is duplicated by
-
JENKINS-45664 blue-ocean parallel streams are not showing up red on a stream failure
-
- Closed
-
-
JENKINS-41781 Support multiple parallels within a stage in the Pipeline Visualization
-
- Closed
-
-
JENKINS-46345 Graphical view not showing correct process
-
- Closed
-
-
JENKINS-40619 Visualizing (list of sequential steps) as groups, as part of one stage
-
- Resolved
-
- is related to
-
JENKINS-41156 [Pipeline] Have shell and batch steps be renameable
-
- Resolved
-
-
JENKINS-44820 Parallel branches with no stage should not be displayed in Blue Ocean
-
- Resolved
-
- relates to
-
JENKINS-54010 Support the visualization of two levels of parallelity in stages
-
- In Progress
-
-
JENKINS-39464 Pipeline with parallel and no stages does not get visualised correctly
-
- In Progress
-
-
JENKINS-53162 Blueocean support for visualizing stages in parallel block in scripted pipeline
-
- Closed
-
-
JENKINS-41205 Stage graph unsuitable for large and/or complex pipelines
-
- Resolved
-
- links to
- mentioned in
-
Page Loading...
[JENKINS-38442] View sequential stages in the pipeline visualization graph
Issue Type | Original: Bug [ 1 ] | New: Story [ 10002 ] |
Summary | Original: Nested labelled blocks breaks blueocean | New: Support nested stages in the Pipeline Graph |
Description |
Original:
I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
New:
{panel title="Support for nested stages is currently unplanned"} There is some debate on how this concept can be visualised in Blue Ocean. Its possible to have infinitely nested stages that would be impossible for the visualization to display correctly. {panel} *Original ticket* I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
Description |
Original:
{panel title="Support for nested stages is currently unplanned"} There is some debate on how this concept can be visualised in Blue Ocean. Its possible to have infinitely nested stages that would be impossible for the visualization to display correctly. {panel} *Original ticket* I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
New:
{panel:title="Support for nested stages is currently unplanned"} There is some debate on how this concept can be visualised in Blue Ocean. Its possible to have infinitely nested stages that would be impossible for the visualization to display correctly. {panel} *Original ticket* I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
Description |
Original:
{panel:title="Support for nested stages is currently unplanned"} There is some debate on how this concept can be visualised in Blue Ocean. Its possible to have infinitely nested stages that would be impossible for the visualization to display correctly. {panel} *Original ticket* I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
New:
{panel:title="Support for nested stages is currently unplanned"|titleBGColor=blue} There is some debate on how this concept can be visualised in Blue Ocean. Its possible to have infinitely nested stages that would be impossible for the visualization to display correctly. {panel} *Original ticket* I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
Description |
Original:
{panel:title="Support for nested stages is currently unplanned"|titleBGColor=blue} There is some debate on how this concept can be visualised in Blue Ocean. Its possible to have infinitely nested stages that would be impossible for the visualization to display correctly. {panel} *Original ticket* I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
New:
{panel:title="Support for nested stages is currently unplanned"|titleBGColor=grey} There is some debate on how this concept can be visualised in Blue Ocean. Its possible to have infinitely nested stages that would be impossible for the visualization to display correctly. {panel} *Original ticket* I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
Description |
Original:
{panel:title="Support for nested stages is currently unplanned"|titleBGColor=grey} There is some debate on how this concept can be visualised in Blue Ocean. Its possible to have infinitely nested stages that would be impossible for the visualization to display correctly. {panel} *Original ticket* I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
New:
{panel:title="Support for nested stages is currently unplanned"|titleBGColor=lightgrey} There is some debate on how this concept can be visualised in Blue Ocean. Its possible to have infinitely nested stages that would be impossible for the visualization to display correctly. {panel} *Original ticket* I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
Description |
Original:
{panel:title="Support for nested stages is currently unplanned"|titleBGColor=lightgrey} There is some debate on how this concept can be visualised in Blue Ocean. Its possible to have infinitely nested stages that would be impossible for the visualization to display correctly. {panel} *Original ticket* I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
New:
{panel:title="Support for nested stages is currently unplanned"|titleBGColor=lightgrey} There is some debate on how this concept can be visualised in Blue Ocean. Its possible to have infinitely nested stages that would be impossible for the visualization to display correctly. {panel} *Original ticket* I've tried using nested stages in order to group each shell script alone to have a meaningful data, however this broken the UI of blueocean and it stopped it from showing showing the variant steps. Code used: {code:java} def test = [:] test["a"] = { stage ("a") { stage ("ab") { sh "echo stage abc" } stage ("xyz") { sh "echo stage xyz" } } } test["b"] = { stage ("b") { stage ("bb") { sh "echo stage bb" } stage ("bxz") { sh "echo stagebxyz" } } } node { //stage 'start' parallel test stage ('middle') { sh "echo middle" } } {code} |
Ah, is this is nested stages, they won't be supported visually for some time (there is some question on how to show them, labelled steps below the parent stage, or a nested block of stages in the graph).
For now, don't use nested stages, it won't do much good. I am curious what your aim is - you want to label steps or blocks of steps as doing something significant?