LoginSignup
36
37

More than 5 years have passed since last update.

Jenkinsプラグイン(Naginator Plugin) 〜失敗したら自動で再実行〜

Last updated at Posted at 2014-02-12

はじめに

インストール手順

  • Jenkinsの[Jenkinsの管理]->[プラグインの管理]->[利用可能]からNaginator Pluginを選択してインストールする
    • 再起動はしなくてもよい

ジョブ側の設定

  • ジョブの[設定]->[ビルド後の処理の追加]->[Retry build after failure]で追加する
  • Rerun build for unstable builds as well as failuresにチェックを入れる
  • Delay before retrying buildで Fixedもしくは Progressiveを選択する
    • Fixedは一定時間でインターバルを設定できる(0以上を入力[秒])
    • Progressiveは(5, 10, 20, 35, 55)のようにインターバルをカスタムに設定できる(0以上を入力[秒])
  • Maximum number of successive failed buildsは最大リビルド数
    • 最大値なので成功した時点でリビルドはされない

以上!!

~ただの宣伝~

  • 全国のSeleniumer必読
  • Seleniumerといっていますが、Selenium, SauceLabs, Travis, Jenkinsに関するノウハウ書いているのでよかったら参考にしてみてください
36
37
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
36
37