-
Bug
-
Resolution: Duplicate
-
Major
-
blueocean beta 2.0
-
-
Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2
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]
- duplicates
-
JENKINS-38442 View sequential stages in the pipeline visualization graph
-
- Closed
-
[JENKINS-45664] blue-ocean parallel streams are not showing up red on a stream failure
Assignee | New: James Dumay [ jamesdumay ] |
Sprint | New: Blue Ocean 1.2-beta3 [ 346 ] |
Sprint | Original: Blue Ocean 1.2-beta3 [ 346 ] | New: Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4 [ 346, 361 ] |
Attachment | New: samplescript [ 39007 ] |
Labels | Original: 2.0 blueocean pipeline | New: blueocean pipeline |
Description |
Original:
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" : \{ } } } ) |
New:
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} |
Description |
Original:
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} |
New:
*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] |
karthik546 can you please post a formatted version of your example?