Jenkins multiple jobs but one same build queue

We use Locks and Latches plugin to implement multiple jobs but one same build queue.

It has a bug. When both A,B jobs are in build queue, and are executed at the same time. The lock for A and B is not available.

Another plugin Build Blocker Plugin has similar function

Step 1

Set in Configuration System

Image

Step 2,

Set lock in your jobs.

Image(1)

發佈了28 篇原創文章 · 獲贊 16 · 訪問量 14萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章