LoginSignup
4
4

More than 5 years have passed since last update.

Jenkinsで古いビルドの破棄を一括で設定する

Last updated at Posted at 2016-06-04

古いビルドの破棄って設定しておかないとたまりまくって大変なことになりますよね。
でもこれってGlobalな設定がないのでちょっと不便…
でも全部のビルド回って…一個一個設定…とかやってられないですよね。

そんなあなたにこちらConfiguration Slicing Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin

これを入れると管理画面にConfiguration Slicingというページが増えているので
Discard Old Builds Slicer - Days to keep builds を選択

最初こんな感じになっているので(Disable)と書いてある奴が設定していないやつです。
スクリーンショット 2016-06-04 14.18.47.png

これをこうしてやると10日に設定されます。
スクリーンショット 2016-06-04 14.20.15.png
ほかにもいろいろ設定あるのでいろいろできます。

4
4
0

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
4
4