简体   繁体   中英

How do I lock a pipeline in Jenkins?

Say I've got that pipeline building my stuff.

I'm polling my Git repo every 15 minutes for changes. The whole build might take more than these 15 minutes.

Is there any way to tell the pipeline not to start when a build is already running?

我自己找到了答案:在作业配置的General选项卡上,有Do not allow concurrent builds

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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