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

SVN post commit hook fails to recognize changes in svn:externals

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • subversion-plugin
    • None

      The post-commit hook for SVN fails to recognize a change in a project that uses svn:externals if the change is in one of the external'ed locations. For example imagine that a project has been set up pointing to parent/trunk which in turn has the following structure:

      parent/trunk
        core -> core/trunk
        shared -> shared/trunk
      

      If I then modify a file within core/trunk a build of the project fails to trigger because the only SVN locations it knows about is parent/trunk.

          [JENKINS-16217] SVN post commit hook fails to recognize changes in svn:externals

          Tom Palmer added a comment -

          I have a fix for this within my fork of the plugin on github. The pull request is https://github.com/jenkinsci/subversion-plugin/pull/30.

          Tom Palmer added a comment - I have a fix for this within my fork of the plugin on github. The pull request is https://github.com/jenkinsci/subversion-plugin/pull/30 .

          Tom Palmer added a comment -

          Closed as this is a duplicate of an earlier issue.

          Tom Palmer added a comment - Closed as this is a duplicate of an earlier issue.

          Code changed in jenkins
          User: Tom Palmer
          Path:
          src/main/java/hudson/scm/SubversionRepositoryStatus.java
          src/main/java/hudson/scm/SubversionSCM.java
          http://jenkins-ci.org/commit/subversion-plugin/ee2d28e6757c881e6143c46c80bab5de9f3785db
          Log:
          [FIXED JENKINS-16217] Take into account the svn:externals of a project when looking for projects to trigger from a post-commit hook.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Tom Palmer Path: src/main/java/hudson/scm/SubversionRepositoryStatus.java src/main/java/hudson/scm/SubversionSCM.java http://jenkins-ci.org/commit/subversion-plugin/ee2d28e6757c881e6143c46c80bab5de9f3785db Log: [FIXED JENKINS-16217] Take into account the svn:externals of a project when looking for projects to trigger from a post-commit hook.

            Unassigned Unassigned
            tmpalmer Tom Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: