のように書くDeclarative Pipelineという記法が導入されて、 そっちのほうがシンプルでわかりやすく書けるよ!ということだったので書き直してみました。 確かにすっきりしたし(特に最後のメールおくるとことか、デプロイするとことか)、 いざとなったら従来のScripted Pipelinesもミックスできるのでいい感じです。 追加したプラグイン Jenkins初期設定時のSuggested Pluginに入っていないもの Checkstyle Plugin(v3.47) - Checkstyeの結果収集用 FindBugs Plugin(v4.69) - Findbugsのレポート生成用 PMD Plugin(v3.46) - PMDのレポート生成用 DRY Plugin(v2.46) - CPD(重複コードチェック)のレポート生成用 Step Counter Plugin(v2