开发者

is it possible to set a value on the triggered by comment in hudson when building from the addressbar?

开发者 https://www.devze.com 2023-02-04 17:35 出处:网络
We\'re going to trigger hudson builds from powershell using curl and the bu开发者_开发百科ild url:

We're going to trigger hudson builds from powershell using curl and the bu开发者_开发百科ild url: http://hudson:port/job/build?parameters...

now I'm wondering if we can somehow pass a parameter that will add to the "triggered by" description for the builds started by our scripts?


I don't know how to edit the "triggered by" info on the build summary page without writing your own Hudson plugin. However, I like to add my own sections and badges to the build summary page with the Groovy Postbuild Plugin. In your case, you could use curl to pass an extra parameter string when starting your Hudson job. Then, you could have the Groovy Postbuild Plugin read that parameter and create a new icon + text string on your job's build summary page. That info could be the custom "triggered by" description that you'd like.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号