Jenkins管道可以按顺序构建多个项目? [英] Jenkins pipeline to build multiple projects in sequence?

查看:553
本文介绍了Jenkins管道可以按顺序构建多个项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于詹金斯(Jenkins),我是一个新手.我希望能够进行不同的项目,并使用管道按顺序依次构建它们.我注意到,詹金斯可以通过管道按顺序或并行运行各个阶段.在同一个节点上按顺序或并行运行项目时,是否可以通过这种方式来实现?

I am a novice when it comes to Jenkins. I would like to be able to take different projects and build them in sequence with each other with a Pipeline. I have noticed that Jenkins can run various stages in sequence or in parallel via a Pipeline. Is there a way for this to happen with running projects in sequence or in parallel that exists on the same node?

推荐答案

是的,您可以使用构建步骤来触发您想要在Jenkins中进行的任何项目(作业).参见 https://jenkins.io/doc/pipeline/steps/pipeline-构建步骤/

Yes, you can use build step to trigger any project (job) you want in Jenkins. See https://jenkins.io/doc/pipeline/steps/pipeline-build-step/

这篇关于Jenkins管道可以按顺序构建多个项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆