Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-1956

Tagging build to an existing tag causes SVN error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • subversion-plugin
    • None
    • Platform: All, OS: All

      When trying to tag a build to an existing tag I get this error:

      Tagging http://PROJECT/trunk (rev.7) to http://PROJECT/tags/uat

      Failed to tag
      org.tmatesoft.svn.core.SVNException: svn: Path 'tags/uat' already exists
      at
      org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:55)
      at
      org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:40)
      at org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:312)
      at
      hudson.scm.SubversionTagAction$TagWorkerThread.perform(SubversionTagAction.java:167)
      at hudson.model.TaskThread.run(TaskThread.java:77)
      Completed

      I would expect behaviour similar to the svn-tag plugin instead, where if the tag
      already exists it is over-written (perhaps with a warning/confirmation first).

            Unassigned Unassigned
            smason smason
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: