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

blue-ocean parallel streams are not showing up red on a stream failure

    Details

    • Similar Issues:
    • Sprint:
      Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2

      Description

      Problem
      parallel streams are wrapped up in try catch blocks and when one stream fails at the end of the build it is not showing that stream red instead it is showing all the streams as green.

      Example
      See [^samplescript]

        Attachments

          Issue Links

            Activity

            karthik546 karthik paidi created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Assignee James Dumay [ jamesdumay ]
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.2-beta3 [ 346 ]
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.2-beta3 [ 346 ] Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4 [ 346, 361 ]
            karthik546 karthik paidi made changes -
            Attachment samplescript [ 39007 ]
            danielbeck Daniel Beck made changes -
            Labels 2.0 blueocean pipeline blueocean pipeline
            jamesdumay James Dumay made changes -
            Description parallel streams are wrapped up in try catch blocks and when one stream fails at the end of the build it is not showing that stream red instead it is showing all the streams as green.

            parallel (
             "stream 3" : \{

             
             parallel (
             "stream 4": \{

             
             parallel (
             "stream 5": \{
            },
             "stream 6": \{


             }
             )
             
             }
             
             },
             
             "stream6" : \{
             stage('2') \{
             try\{
             xxx
             }catch(e) \{
             error 'failed'
             throw e
             }
             
             }

             
             }
             )
             },
             "stream 7" : \{
             stage('1') \{
             try\{
             
             }catch (e)\{
             
             error 'failed'
             }
             }
             

             
             },
             
             
             "stream 8" : \{

             }
             }
             }
             )

             
            parallel streams are wrapped up in try catch blocks and when one stream fails at the end of the build it is not showing that stream red instead it is showing all the streams as green.

            {noformat}
            parallel (
             "stream 3" : \{

             
             parallel (
             "stream 4": \{

             
             parallel (
             "stream 5": \{
            },
             "stream 6": \{


             }
             )
             
             }
             
             },
             
             "stream6" : \{
             stage('2') \{
             try\{
             xxx
             }catch(e) \{
             error 'failed'
             throw e
             }
             
             }

             
             }
             )
             },
             "stream 7" : \{
             stage('1') \{
             try\{
             
             }catch (e)\{
             
             error 'failed'
             }
             }
             

             
             },
             
             
             "stream 8" : \{

             }
             }
             }
             )
            {noformat}
             
            jamesdumay James Dumay made changes -
            Description parallel streams are wrapped up in try catch blocks and when one stream fails at the end of the build it is not showing that stream red instead it is showing all the streams as green.

            {noformat}
            parallel (
             "stream 3" : \{

             
             parallel (
             "stream 4": \{

             
             parallel (
             "stream 5": \{
            },
             "stream 6": \{


             }
             )
             
             }
             
             },
             
             "stream6" : \{
             stage('2') \{
             try\{
             xxx
             }catch(e) \{
             error 'failed'
             throw e
             }
             
             }

             
             }
             )
             },
             "stream 7" : \{
             stage('1') \{
             try\{
             
             }catch (e)\{
             
             error 'failed'
             }
             }
             

             
             },
             
             
             "stream 8" : \{

             }
             }
             }
             )
            {noformat}
             
            *Problem*
            parallel streams are wrapped up in try catch blocks and when one stream fails at the end of the build it is not showing that stream red instead it is showing all the streams as green.

            *Example*
            See [^samplescript]
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4 [ 346, 361 ] Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2-beta5 [ 346, 361, 376 ]
            jamesdumay James Dumay made changes -
            Link This issue duplicates JENKINS-38442 [ JENKINS-38442 ]
            jamesdumay James Dumay made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            jbriden Jenn Briden made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            karthik546 karthik paidi made changes -
            Attachment Screen Shot 2017-07-19 at 10.46.39 AM.png [ 38962 ]
            karthik546 karthik paidi made changes -
            Attachment samplescript [ 39007 ]

              People

              • Assignee:
                jamesdumay James Dumay
                Reporter:
                karthik546 karthik paidi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: