Details
-
Type:
New Feature
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: svn-tag-plugin
-
Labels:None
-
Environment:Platform: All, OS: All
-
Similar Issues:
Description
It would be nice to make tags also on unstable builds.
In my project currently some test cases fail which means the build is marked as
unstable but never the less I want to make snap shots of my build.
So best would be to make it configureable which build status should be tagged.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Priority | Critical [ 2 ] | Minor [ 4 ] |
Workflow | JNJira [ 134569 ] | JNJira + In-Review [ 174173 ] |
You can use:
Index: src/main/java/hudson/plugins/svn_tag/SvnTagPlugin.java
===================================================================
— src/main/java/hudson/plugins/svn_tag/SvnTagPlugin.java (revision 21844)
+++ src/main/java/hudson/plugins/svn_tag/SvnTagPlugin.java (working copy)
@@ -70,7 +70,8 @@
String tagBaseURLStr, String tagComment) {
PrintStream logger = buildListener.getLogger();
+ if (Result.FAILURE.equals(abstractBuild.getResult()) ||
+ Result.ABORTED.equals(abstractBuild.getResult())) {
logger.println("No Subversion tagging for unsuccessful build. ");
return true;