我想修改显示的jenkins 2管道displayname和build id。这样做的首选方法是什么?
感谢。
答案 0 :(得分:0)
来自cloudbees: https://support.cloudbees.com/hc/en-us/articles/220860347-How-to-set-build-name-in-Pipeline-job
node {
currentBuild.displayName = "fooName"
currentBuild.description = "fooDescription"
}