-
Bug
-
Resolution: Won't Fix
-
Blocker
-
None
When using the new block scoped stages, SSE events do not arrive correctly.
Using the pipeline below, the following events are received:
https://issues.jenkins-ci.org/secure/attachment/34010/34010_Screenshot+from+2016-09-19+16-59-36.png
however, when non block scoped stages are used, the following events arrive:
https://issues.jenkins-ci.org/secure/attachment/34012/34012_Screenshot+from+2016-09-19+17-00-51.png
Note that the new syntax is missing stage_id.
node { stage("hey") { sh 'ping -c 5 www.apple.com' } stage("par") { parallel ( "b1" : { sh 'ping -c 2 www.apple.com' }, "b2" : { sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' } ) } stage("ho") { sh 'ping -c 10 www.apple.com' } }