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

SVN Plugin tries to update working copy of a job to a non-existant revision

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin
    • None
    • Windows 7 master/slave (Jenkins ver. 1.554.1)
      Subversion Plugin 2.3

      I have two repositories A and B, of which B contains svn:externals to A with pegged revisions.

      Whenever someone commits to A, a post commit hook notifies the Jenkins Master and a build job for B starts based on the svn:externals information.
      However, the job tries to update the working copy of B to the committed revision of A.
      Since the revision doesn't exist, an error occurs and the job bails out.

      e.g.
      Repository A: HEAD revision = 250
      Repository B: HEAD revision = 100, svn:external on Repository A revision 50

      Commit to Repository A which creates a new HEAD revision 251.
      The master is notified through a post commit hook notification and the build for Repository B starts:

      Updating http://xxx/svn/repository_b at revision 251
      ERROR: Failed to update http://xxx/svn/repository_b
      org.tmatesoft.svn.core.SVNException: svn: E160006: No such revision 251
      svn: E175002: REPORT of '/svn/repository_b/!svn/vcc/default': 500 Internal Server Error (http://xxx)

          [JENKINS-22973] SVN Plugin tries to update working copy of a job to a non-existant revision

          chikigai added a comment -

          Any comments?

          chikigai added a comment - Any comments?

          Dustin Oprea added a comment -

          Dustin Oprea added a comment - I experience this issue, too: http://stackoverflow.com/questions/24498650/postcommit-hook-in-jenkins-tries-to-update-all-svn-checkouts-with-the-same-rev

          chikigai added a comment -

          @dsoprea
          Thanks for the info.
          It looks like the details in the post has helped me resolve this issue.

          chikigai added a comment - @ dsoprea Thanks for the info. It looks like the details in the post has helped me resolve this issue.

            Unassigned Unassigned
            chikigai chikigai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: