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

Parallel sequential stages not rendering correctly

    XMLWordPrintable

Details

    Description

      After updating to BlueOcean 1.8 my Jenkinsfile is rendered completly buggy (before 1.8 it didn't show all steps, but atleast wasn't buggy). The graph does look like this:

      The layout of the steps is like this:

      Continuous (children are parallel) ->
        Windows (children are sequential) ->
          Build
          Test
        Linux (children are sequential) ->
          Build
          Test
          Coverage
        MemCheck (children are sequential) ->
          Build
          Memcheck 
        Android (children are sequential) ->
          Build
        iOS (children are sequential) ->
          Build
      

      The entire Jenkinsfile can be viewed here

      Attachments

        Issue Links

          Activity

            On a related note:

            I select a specific change, but the console text is wrong. I have a visually completed stage selected, but the text says "Waiting for run to start". It's not possible for me to get the correct output of a selected stage,

            feliwir Stephan Vedder added a comment - On a related note: I select a specific change, but the console text is wrong. I have a visually completed stage selected, but the text says "Waiting for run to start". It's not possible for me to get the correct output of a selected stage,
            olamy Olivier Lamy added a comment -

            when is it happening? during build or after or not started yet?

            any change if you reload the page?

            what happen at the end?

            seems to be odd for me. 

            as your build has some when block does it happen when you are in the when cause or not.

            Please note the graph can be sometimes not up2date during a build as we merge with previous build (users can change their pipeline between runs so we need to use such strategy)

            olamy Olivier Lamy added a comment - when is it happening? during build or after or not started yet? any change if you reload the page? what happen at the end? seems to be odd for me.  as your build has some when block does it happen when you are in the when cause or not. Please note the graph can be sometimes not up2date during a build as we merge with previous build (users can change their pipeline between runs so we need to use such strategy)

            olamy this happened during the build. Refreshing the page doesn't change anything. When the build is finished everything displays correctly. The when blocks are all disabled, so e.g. iOS and MemCheck aren't executed/skipped.

            It's not a big deal, but makes it much harder to view the current output of a stage.

            feliwir Stephan Vedder added a comment - olamy this happened during the build. Refreshing the page doesn't change anything. When the build is finished everything displays correctly. The when blocks are all disabled, so e.g. iOS and MemCheck aren't executed/skipped. It's not a big deal, but makes it much harder to view the current output of a stage.
            acarr468 Adam Carroll added a comment -

            I recently updated to use the newest version of BlueOcean (1.9) and this behavior does not work for a scripted pipeline, only declarative. My sequential nodes end up squashed into one stage. Is it expected to work for scripted? 

            My basic scripted pipeline structure looks like this:

            stage("Build and test") {

              parallel linux: {

                node("nodeA")

            {       ...     }

                node("nodeB")

            {       ..     }

              },

              windows: {

                .........

             

            acarr468 Adam Carroll added a comment - I recently updated to use the newest version of BlueOcean (1.9) and this behavior does not work for a scripted pipeline, only declarative. My sequential nodes end up squashed into one stage. Is it expected to work for scripted?  My basic scripted pipeline structure looks like this: stage("Build and test") {   parallel linux: {     node("nodeA") {       ...     }     node("nodeB") {       ..     }   },   windows: {     .........  
            olamy Olivier Lamy added a comment -

            acarr468  yes it's only supported for declarative

            olamy Olivier Lamy added a comment - acarr468   yes it's only supported for declarative

            People

              nicu Nicolae Pascu
              feliwir Stephan Vedder
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: