Create a specific revision in Hudson?

How can I ask Hudson about creating a specific version (instead of the latest)? I use Mercurial in case it is relevant.

+3
source share
2 answers

As part of the Mercurial project of the Hudson project, you can try putting the revision you want to create in the Branch field. (And if that doesn't work, create a branch based on this revision.)

More generally, if you want to create the version that you specify during assembly, you can configure a parameterized assembly that uses the user-specified revision parameter in the Branch field. Mercurial Plugin claims to support parameters in the Branch field (since version 1.26).

[Disclaimer: I do not have the setting to try it myself. So this is an educated guess.]

+4
source

I'm not sure if this helps in your case (Hudson). Usually, if we want to create a specific revision that we are updating, this revision builds it. You can upgrade version to version:

hg update -r <revision>

This is a repo update for this revision, and you can run build commands

,

hg archive -r <revision>

hg help archive
+2

Source: https://habr.com/ru/post/1761942/


All Articles