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

Parallel sequential stages not rendering correctly

    Details

    • Similar Issues:

      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

            Hide
            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,

            Show
            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,
            Hide
            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)

            Show
            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)
            Hide
            feliwir Stephan Vedder added a comment -

            Olivier Lamy 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.

            Show
            feliwir Stephan Vedder added a comment - Olivier Lamy 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.
            Hide
            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: {

                .........

             

            Show
            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: {     .........  
            Hide
            olamy Olivier Lamy added a comment -

            Adam Carroll  yes it's only supported for declarative

            Show
            olamy Olivier Lamy added a comment - Adam Carroll   yes it's only supported for declarative

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: