开发者

Set Hudson build number from a script

开发者 https://www.devze.com 2022-12-20 01:26 出处:网络
Is there a way to set the next build number in Hudson from a script? I have the nextBuildNumber plug-in installed, and attempted to use wget with --post-data, but that page appears to require login.

Is there a way to set the next build number in Hudson from a script?

I have the nextBuildNumber plug-in installed, and attempted to use wget with --post-data, but that page appears to require login.

I have two steps of a chained build and I want to keep the build numbers in s开发者_StackOverflow社区ync.


There's a file named jobs/$JOBNAME/nextBuildNumber. It contains the next build number to be used in plain text.


Use HTTP authentication to log into your Hudson server with a user who has suitable privileges for scheduling a build.

The authenticating scripted clients page on the Hudson wiki describes this.

0

精彩评论

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