Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build a specific revision in Hudson?

How do I ask Hudson to build a specific revision (instead of the latest one)? I am using Mercurial in case that's relevant.

like image 459
Gili Avatar asked Dec 20 '25 15:12

Gili


1 Answers

Under the Hudson project's Mercurial configuration, you can try putting the revision you'd like to build into the Branch field. (And if that doesn't work create a branch based on that revision.)

More generally, if you want the ability to build a revision that you specify at build time, you can configure a parameterized build that uses the user-specified revision parameter in the Branch field. The Mercurial Plugin claims to support parameters in the Branch field (as of version 1.26).

[Disclaimer: I don't have the setup to try this myself. So it's an educated guess.]

like image 157
Dave Bacher Avatar answered Dec 23 '25 07:12

Dave Bacher