This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      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); }

            Assignee:
            Rakesh S S
            Reporter:
            Rakesh S S
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: