1
1

More than 5 years have passed since last update.

Jenkinsでジョブ毎のキュー管理、的なこと

Posted at

互いに無関係なジョブ A とジョブ B がある状態で、一つのノードに対して

  1. ビルド A-1
  2. ビルド B-1
  3. ビルド A-2
  4. ビルド B-2

という順番でビルドを実行させようとすると、A-1 → B-1 → A-2 → B-2 と待つことになります。

自分以外のジョブのビルドは待たないようにしたいです。上記の場合だと例えば B-1 は A-1 を待たずに実行したいです。

以下のやりとりを参考にして、

"Multiple build queues in Jenkins"
http://stackoverflow.com/questions/8731422/multiple-build-queues-in-jenkins

ジョブ A 用のスレーブ A とジョブ B 用のスレーブ B を作成して実現できました。(スレーブ A, B は同一マシンで立ち上げ)

キューではなくてノードを分けるという発想がありませんでした・・・。

1
1
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1