I'd like to setup the ability to rebuild from a specific revision. The default would be HEAD and a user could rebuild an old build (that had been removed). I'd still like to leverage all of hudson's reporting regarding SVN etc.
Is there a good way to do this?
What I would try. Unfortunately I don't have the time to verify my approach.
A quick way would be to use an parameter and leave a blank if you want to go to head. To check out an older revision, enter "@" plus the revision number as the value for the parameter.
You than just need to add the parameter to the URL for your subversion checkout. I am not sure about the correct syntax. I suspect it is something like ${Parameter_Name}
.
Let us know if this works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With