Using failFast with closure map breaks “parallel” step

前端 未结 3 2136
粉色の甜心
粉色の甜心 2021-02-18 23:05

Not sure if it\'s my limited knowledge of Groovy or a quirk in Pipeline parallel step. I can\'t make it accept failFast if I use map instead of passing

3条回答
  •  走了就别回头了
    2021-02-18 23:49

    In addition to Jesse Glick's answer.

    Even if you use a for loop to create a parallel stages you can use the same code -

    map.failFast = true
    parallel map
    

提交回复
热议问题