添加后生成的动作下面是我的脚本管道如何在管道中詹金斯
node(Slave01) {
currentBuild.displayName = "${URL_Name}"
}
stage 'Pt2ctf process'
node(Slave01) {
build job: 'Pt2ctf_16_7', parameters: [string(name: 'URL_Name', value: "${URL_name}"), string(name: 'Display_Name', value: "${Display_Name}")]
}
stage 'add_fields'
node(Slave01) {
build job: 'add_fields_16_7', parameters: [string(name: 'URL_Name', value: "${URL_Name}")]
}
以上Groovy脚本会触发多个构建顺序。一旦序列完成,我还有另一个版本可以运行。我在管道作业配置中看不到任何后期构建选项。
是否有可能,我们可以添加几行象下面这样:
post
node(Slave01){
build job: 'testing_build'
}
或者我们还有其他选择吗?请建议
男生任何人都可以请建议 –
可能重复http://stackoverflow.com/questions/36651432/how-to-implement-post-build-stage-using-jenkins-pipeline-plug-in –
可能重复的[如何使用Jenkins管道插件实现Post-Build阶段?](https://stackoverflow.com/questions/36651432/how-to-implement-post-build-stage-using-jenkins-pipeline-plug-in) – user7610