🙈

Jenkins Pipeline で作ったジョブの推移ページに Agent が表示されない

2021/01/25に公開

推移ページに Agent が表示されない理由

推移

Jenkins users - Build time trend - Pipeline

Pipeline jobs are not limited to a specific agent, that's why this information is not displayed on the build time trend page.

ジョブが特定のノード (agent) だけで実行されるわけではないため表示されないようです。
Pipeline で作られたジョブは step 毎に agent を指定できるので仕方ないですね。

何かしらのプロパティに値を入れることで上書きできたりしないでしょうか。
表示をスクリプトから設定する方法をご存知の方がいればコメントいただけると助かります。

その他参考

Agent field not being populated in Jenkins Pipeline jobs - Stack Overflow

Discussion