#author("2023-11-02T22:58:15+00:00","default:hotate","hotate") #author("2023-11-02T22:59:11+00:00","default:hotate","hotate") #contents &tag(Jenkins,プラグイン); * 情報 [#t18d559f] ** 全般 [#h2ba7d2f] - [[Jenkins がもっと便利になるおすすめプラグイン 8 つ (フェンリル | デベロッパーズブログ)>http://blog.fenrir-inc.com/jp/2012/12/jenkins_plugins.html]] 必要のなくなったプロジェクトをアーカイブできる: Shelve Project このプラグインを利用すると、プロジェクトをアーカイブして保存することができます。 - [[Jenkins がもっともっと便利になるプラグイン 8 つ (フェンリル | デベロッパーズブログ)>http://blog.fenrir-inc.com/jp/2013/03/jenkins-2.html]] コンソール出力に表示されるパスワードをマスクする: Mask Passwords 指定した URL の内容変更をトリガにできる: URLTrigger ** [[Markdown]] [#r450a649] - [[Markdown Formatter | Jenkins plugin>https://plugins.jenkins.io/markdown-formatter/]] Markdown Formatter allows plain text to be converted into HTML in Jenkins. ** 環境変数 [#l799663f] - [[Build User Vars Plugin - Jenkins - Jenkins Wiki>https://wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin]] This plugin provides a set of environment variables that describe the user who started the build. BUILD_USER Full name (first name + last name) BUILD_USER_EMAIL Email address ** [[メール]] [#jad999ee] - [[Email-ext plugin - Jenkins - Jenkins Wiki>https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin]] -- [[Jenkinsから送信されるメールをカスタマイズする | Ryuzee.com>http://www.ryuzee.com/contents/blog/4527]] Email-extプラグインとは Jenkinsが送信するメールをカスタマイズするプラグインで、送信するメールのタイトルや本文、いつ送信するか、誰に送信するか等をカスタマイズすることが出来ます。 -- [[Jenkinsによるメール通知の自動化>http://changesworlds.com/2015/03/automation-of-mail-notification-by-jenkins/]] -- [[ブログズミ: [Jenkins] Email-ext plugin の Pre-send Script を使う>http://srz-zumix.blogspot.jp/2014/04/jenkins-email-ext-plugin-pre-send-script.html]] ** 転送 [#la7550c8] - [[Publish Over SSH Plugin - Jenkins>https://wiki.jenkins-ci.org/display/JENKINS/Publish%20Over%20SSH%20Plugin]] -- 成果物をサーバへ転送OK。(2011/12/04) - [[SCP plugin - Jenkins>https://wiki.jenkins-ci.org/display/JENKINS/SCP+plugin]] -- 転送失敗。認証に成功しなかった。(2011/12/04) ** トリガ [#e1f3495f] - [[FSTrigger Plugin - Jenkins - Jenkins Wiki>https://wiki.jenkins.io/display/JENKINS/FSTrigger+Plugin]] FSTrigger provides polling mechanisms to monitor a file system and trigger a build if a file or a set of files have changed. ** 可視化 [#cf3bcd37] - [[ブログズミ: [Jenkins] Plot Plugin を使って見える化>https://srz-zumix.blogspot.com/2016/02/jenkins-plot-plugin.html]] Plot Plugin は csv ファイルや xml ファイルなどを集計して、グラフ化してくれるプラグインです。 ** [[PowerShell]] [#u69b0cc1] - [[How to run a PowerShell script as a job in Jenkins - Stack Overflow>https://stackoverflow.com/questions/10452905/how-to-run-a-powershell-script-as-a-job-in-jenkins]] Well, there is a PowerShell plugin, which is wrapping the shell anyway. - [[Running Powershell scripts using Jenkins | TO THE NEW Blog>http://www.tothenew.com/blog/running-powershell-scripts-using-jenkins/]] In this blog, we will be configuring Jenkins to execute Powershell scripts on Windows. ** [[静的解析]] [#ic889ac4] - [[JenkinsでDeclarative Pipelineを使ったアレコレ(2019/3現在) - Qiita>https://qiita.com/mas0061/items/7024169f306390aa1717]] Jenkins公式で開発されている warnings-ng-plugin 。 プラグインの ng はNext Generationなので、今後はこっちを開発していく方針っぽい。 このプラグインは、静的解析ツールが出した警告や問題を収集して視覚化してくれる。 -- [[Warnings | Jenkins plugin>https://plugins.jenkins.io/warnings-ng/]] The Jenkins Next Generation Warnings plugin collects compiler warnings or issues reported by static analysis tools and visualizes the results. --- コメント:名称はWarningsだが、IDはwarnings-ngなので要注意。(2023/11/03) ** [[ユニットテスト]] [#zfe308d7] - [[JaCoCo | Jenkins plugin>https://plugins.jenkins.io/jacoco/]] A plugin for Jenkins to capture and visualize code coverage testing results for projects using the JaCoCo for code-coverage analysis. ** 再実行 [#x37c3464] - [[Jenkinsプラグイン(Naginator Plugin) 〜失敗したら自動で再実行〜 - Qiita>https://qiita.com/oh_rusty_nail/items/18ec73bee3f44c38823e]] Delay before retrying buildで Fixedもしくは Progressiveを選択する - [[Jenkins でジョブが失敗した時にだけ実行したい処理があった場合の対応パターン - Thanks Driven Life>https://gongo.hatenablog.com/entry/2014/04/01/100236]] 失敗した時に実行したいのに、set -e によって if に到達できない問題があるため、Shebang を明示的に記載することでそれを回避できます。 * インストール [#lc1d1d03] ** インストール [#lc1d1d03] - [[Jenkinsで私が使ってるプラグインをコマンドからインストール · GitHub>https://gist.github.com/dekokun/3656119]] Jenkinsで私が使ってるプラグインをコマンドからインストール ** 設定履歴 [#z2577a0c] - [[Job Configuration History | Jenkins plugin>https://plugins.jenkins.io/jobConfigHistory/]] Saves copies of all job and system configurations.