1
votes

I am looking for a plugin that will tag (subversion) every single build that Hudson makes ever.

I have found the Subversion tagging plugin but it replaces the tag every time a new build happens. I would like to keep track of every single build that goes through the system.

I would prefer a plugin since most of the hudson jobs involve multiple subversion locations i to would be a hassle trying to add tag post hooks.

Please and thank you

2

2 Answers

1
votes

I have been using the maven release plug-in for a while. Maven release plugin has a goal,

install release:prepare

which tags the codebase, if the build succeeds. I assume that you want to tag the code base rather than the artifact.

It does changes the version of the project from 1.1-SNAPSHOT to 1.1 and tags the codebase. So your development version will become 1.2.

0
votes

I had to tackle the same problem and I have not found any plugin for that. Sadly, I had to do this "by hand".

Later it turned out that tagging every build wasn't necessary at all. Tagging the last successful build is very handy when you want to checkout the latest working source code. And if a build is important for some reason I just click "Keep this build" in Hudson, or "Tag this build".