-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: git-plugin
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())