Continue Jenkins pipeline past failed stage

前端 未结 8 1227
北荒
北荒 2020-12-13 12:23

I have a series of stages that perform quick checks. I want to perform them all, even if there are failures. For example:

stage(\'one\') {
    node {
              


        
8条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-13 12:42

    I resolved that, using post actions: https://jenkins.io/doc/pipeline/tour/post/

               post {
                always {
                    ...
                }
               }
    

提交回复
热议问题