Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56202

Blueocean unable to display inline pipeline script stage details

      Use Case:

      I have two pipeline scripts name 1) Parent 2) Child.

      I have  Stages A & B in Parent pipeline script and Stages C, D, E and F in child pipeline script.

      I will call child pipeline script using "load"  in Stage B of parent script. 

      I am expecting Blueocean output display web-page should show all stages as per below.

       

      O---A---B---C---D---F----O

       

       

      Issue:

       

      In the above use case, Jenkins blueocean display web-page showing only parent pipeline script stage details not child  pipeline script pipeline stage details.

       

      O----A----B----O

       

       

       

          [JENKINS-56202] Blueocean unable to display inline pipeline script stage details

          Connor Yu added a comment - - edited

          Hi is this similar to what i'm trying to do?

          We use multiple labels for our nodes which leads to our stage names being cut off. I did have a secondary question regarding this. How can I set the display to use the node name instead of the labels? For example I have two parallel nodes running two stages but my view only shows it as two parallel single stages.  Is it possible to have it show as parallel stages with their stage names? 
          stage("Build ${ARCH{color}}") {
          sh("printenv")
          copyRepos(MASTER_WORKSPACE)
          runStage()
          }
          stage("Smoke ${ARCH{color}}") {
          sh("printenv")
          copyArtifacts()
          }
           

          Connor Yu added a comment - - edited Hi is this similar to what i'm trying to do? We use multiple labels for our nodes which leads to our stage names being cut off. I did have a secondary question regarding this. How can I set the display to use the node name instead of the labels? For example I have two parallel nodes running two stages but my view only shows it as two parallel single stages.  Is it possible to have it show as parallel stages with their stage names?  stage( "Build ${ ARCH{color}}") { sh( "printenv" ) copyRepos( MASTER_WORKSPACE ) runStage() } stage( "Smoke ${ ARCH{color}}") { sh( "printenv" ) copyArtifacts() }  

          Gavin Mogan added a comment -

          Do you have a sample jenkinsfile that shows this problem? (just use echo or something inside the stages)

          Gavin Mogan added a comment - Do you have a sample jenkinsfile that shows this problem? (just use echo or something inside the stages)

            imeredith Ivan Meredith
            srikanthtummala Srikanth Tummala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: