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

Create Tag (Tag this build) Not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • svn-tag-plugin
    • None
    • Platform: All, OS: HP-UX

      Hudson version 1.227. Stand alone setup running on Winstone.

      When attempting a tag after selecting 'Tag this build', the tag fails with an error:
      Tagging http://subversion/svn/XXXXX/web/project/trunk (rev.19085) to
      http://subversion/svn/XXXXX/web/project/tags/project-30

      Failed to tag

      org.tmatesoft.svn.core.SVNAuthenticationException: svn: Commit failed (details
      follow):

      svn: CHECKOUT of '/svn/XXXXX/!svn/ver/19211/web/project/tags': 403 Forbidden
      (http://subversion)

      at
      org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:84)

      at org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:354)

      at
      hudson.scm.SubversionTagAction$TagWorkerThread.perform(SubversionTagAction.java:167)

      at hudson.model.TaskThread.run(TaskThread.java:77)

      Completed

      The error suggests the user setup within the hudson.scm.SubversionSCM.xml does
      not have the authority to checkout the subversion tags directory revision.

      Further investigation found the user being used for the tag is the user that
      started Hudson in the first instance, and NOT the user declared in the
      hudson.scm.SubversionSCM.xml file. Thus, if the user account that started Hudson
      does not have enough permissions for SVN, then the tagging fails with the above
      error.

      Regards

      Matt Gaunt

            Unassigned Unassigned
            wymgaz wymgaz
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: