Skip to content

Instantly share code, notes, and snippets.

@nishigori
Last active April 1, 2020 07:05
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nishigori/4ce34eb0ac65edb4d7cf to your computer and use it in GitHub Desktop.
Save nishigori/4ce34eb0ac65edb4d7cf to your computer and use it in GitHub Desktop.
Jenkins in Action

Jenkins in Action

TODOs:

BlockできるPlugin探す 候補:

Trigger系

References

Jenkins実践入門-~ビルド・テスト・デプロイを自動化する技術-WEB-DB-PRESS-plus

Jenkins実践入門

O'REILLY Jenkins

Jenkins

Installation

Stable repo:

RedHat Linux RPM packages for Jenkins

Plugins

一覧:

Plugin Name Star
Build Pipeline ★★★★★
Delivery Pipeline ★★★★☆
Build Flow ★★☆☆☆
Embeddable Build ★★★★☆
Github pull request builder ★★★★☆
Shared workspace plugin ★★★☆☆

Pipeline

capture for build pipeline

良いところ:

Build Piepelineのようにビルドの順番ではなく、独自でカテゴライズできる (各ジョブ設定にカテゴリ設定欄あり)

capture delivery pipeline

各ジョブのビルド後の設定で下流ビルドを定義していると、Build Flow Pluginとは別に起動してしまう問題あり (Plugin側のバグと認識)


View

TODO:

TODO:


Others

Travis CIのようにバッジ表示をJenkinsのビルドジョブ結果として貼れるプラグイン

GithubのプルリクエストをJenkins上のブランチでマージしてビルドを実行してくれる

References:

評価Version: 1.0.1

複数のジョブで共通のworkspaceを利用することができる。

  • SCM Repository URLの設定は必須
    • これが指定されたからといってcloneやfetchをしてくるわけではない
    • ただのお飾り
  • shared workspaceの削除挙動はかなり怪しい。削除できないパターンがあるが、200が返る
    • 対象shared workspaceを利用していると削除できない(アナウンス等は出ない)
    • 対象shared workspaceを利用していると削除できない場合もある(アナウンス等は出ない)
    • Name, Repository URL を空にして保存すると論理削除扱い(dirは自分で消すというアレ)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment