Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git
Created: 29/Apr/13 8:40 AM
Description:

1. Select skiptag in GitSCM as false
2. Apply Create Tag in GitPublisher.

This will try to first remove existing tag applied after fetching source code.
A simple fix would be to change ln: 236
// We delete the old tag generated by the SCM plugin
String buildnumber = "jenkins-" + projectName.replace(" ", "_") + "-" + buildNumber;
git.deleteTag(buildnumber);
---------------------to -----------------------------------
if (false == gitSCM.getSkipTag())

{ // We delete the old tag generated by the SCM plugin String buildnumber = "jenkins-" + projectName.replace(" ", "_") + "-" + buildNumber; git.deleteTag(buildnumber); }
Project: Jenkins
Priority: Minor Minor
Reporter: Rakesh S S
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to