Check parallel stages status
问题 I have something like this: stages { stage('createTemplate') { parallel { stage('template_a') { creating template a } stage('template_b') { creating template b } } } stage('deployVm') { parallel { stage('deploy_a') { deploy vm a } stage('deploy_b') { deploy vm b } } } } How can I make sure that deployVm stages run when and only when respective createTemplate stages were successful? 回答1: You may want to run one parallel like this: parallel { stage('a') { stages { stage ('template_a') { ... }