Recently, we tagged a build through Hudson, but shortly afterward a bug was found that necessitated a rebuild. We ended up deleting the tag in subversion, but Hudson still showed the tag on that build. I found the following in \jobs\\builds\\build.xml
<hudson.scm.SubversionTagAction>
<build class="build" reference="../../.."/>
<tags class="hudson.util.CopyOnWriteMap$Tree">
<no-comparator/>
<entry>
<hudson.scm.SubversionSCM_-SvnInfo>
<url>...url here...</url>
<revision>34859</revision>
</hudson.scm.SubversionSCM_-SvnInfo>
<list>
<string>...tag url here...</string>
</list>
</entry>
</tags>
</hudson.scm.SubversionTagAction>
I replaced
<list>
<string>...tag url here...</string>
</list>
with
<list/>
and this got rid of the tag.
My questions:
- Is there a cleaner way to remove the tag annotation from a Hudson build than manually editing the build.xml?
- Is there a way to completely remove the tag from Hudson/SVN through the Hudson interface? It would be nice to have an "undo" button to complement the "tag now" button.