简体   繁体   English

JENKINS构建运行并行和顺序作业

[英]JENKINS Builds run parallel and Sequential jobs

I have 12 different JOBS in which few of them can run in parallel , but few of them are dependent. 我有12个不同的JOBS,其中很少有可以并行运行,但很少有人依赖。

I am using MultiJob plugin and Phasing the jobs , but when one job fails the whole build is marked as failed and to resume i have to run all the steps all over again. 我正在使用MultiJob插件和Phasing工作,但是当一个作业失败时,整个构建被标记为失败并且恢复我必须重新运行所有步骤。

Is there any way to resume the builds from where it failed. 有没有办法从失败的地方恢复构建。

Thanks in advance. 提前致谢。

this above plugin is deprecated. 以上插件已弃用。 you need to use - https://wiki.jenkins.io/display/JENKINS/Pipeline+Plugin 你需要使用 - https://wiki.jenkins.io/display/JENKINS/Pipeline+Plugin

Try this out https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin 试试这个https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin

You can control you job easily in this way. 您可以通过这种方式轻松控制工作。 Just crate a controller build flow job, manage and arrange all the job sequence there, the link provided with useful sample and usage, hope this helps :D 只需创建一个控制器构建流程作业,管理和安排那里的所有作业序列,链接提供有用的示例和用法,希望这有助于:D

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM