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

Jenkins not being triggered on a change to an external with new 1.4 SVN plugin.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • subversion-plugin
    • None
    • Windows Server 2008, 32 bit.

      Previously, external commits would trigger a build. This is no longer working after the 1.4 update to the Subversion Plugin.

          [JENKINS-13771] Jenkins not being triggered on a change to an external with new 1.4 SVN plugin.

          I believe I fixed this in 1.42. This is probably a duplicate of JENKINS-13790.

          Kohsuke Kawaguchi added a comment - I believe I fixed this in 1.42. This is probably a duplicate of JENKINS-13790 .

          Jay Beeckman added a comment -

          This is still not working correctly with File Externals. Can you please test with the triggering with both folder externals to a remote repository and file externals within the same repository.

          Jay Beeckman added a comment - This is still not working correctly with File Externals. Can you please test with the triggering with both folder externals to a remote repository and file externals within the same repository.

          Tim Astle added a comment -

          I think I'm hitting the same issue. I have a Subversion project that has an external to a directory. When I make changes to a file in the external, Jenkins doesn't rebuild the project.

          So I've downgraded the SVN Plugin to 1.34 after finding this issue, but that doesn't work either. Can anyone provide tips to diagnose this? Jenkins version 1.447.2.

          Tim Astle added a comment - I think I'm hitting the same issue. I have a Subversion project that has an external to a directory. When I make changes to a file in the external, Jenkins doesn't rebuild the project. So I've downgraded the SVN Plugin to 1.34 after finding this issue, but that doesn't work either. Can anyone provide tips to diagnose this? Jenkins version 1.447.2.

          Lee Cantey added a comment -

          I have a number of "projects" that are just collections of externals. None of these are getting triggered and haven't been for about two months. I'm running 1.474 with all plugins updated to latest revision.

          Lee Cantey added a comment - I have a number of "projects" that are just collections of externals. None of these are getting triggered and haven't been for about two months. I'm running 1.474 with all plugins updated to latest revision.

          Griffin Myers added a comment -

          Any idea when this and/or JENKINS-13790 will be fixed? We need to stay with SVN wc 1.7 and the inability to trigger a build via changes in externals are a killer for us.

          Griffin Myers added a comment - Any idea when this and/or JENKINS-13790 will be fixed? We need to stay with SVN wc 1.7 and the inability to trigger a build via changes in externals are a killer for us.

          aleksas added a comment -

          I get an empty changelog with subversion 1.7 (plugin v 1.43) but logs show multiple updates and svnkit assertion errors.

          Jenkins ver. 1.489
          Environment: Server 2008, 64 bit.

          aleksas added a comment - I get an empty changelog with subversion 1.7 (plugin v 1.43) but logs show multiple updates and svnkit assertion errors. Jenkins ver. 1.489 Environment: Server 2008, 64 bit.

          Tom Palmer added a comment -

          I have a fix for this at https://github.com/tmpalmer/jenkins-subversion-plugin/commit/cbfe61bcd3f7f17fbb2bd9494d0a4b255d0fa237 that works for me on a number of projects.

          Tom Palmer added a comment - I have a fix for this at https://github.com/tmpalmer/jenkins-subversion-plugin/commit/cbfe61bcd3f7f17fbb2bd9494d0a4b255d0fa237 that works for me on a number of projects.

          Griffin Myers added a comment -

          Many thanks to Tom Palmer for his fix. I've manually built the SVN plugin with his mods (followed instructions here: https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial#Plugintutorial-BuildingaPlugin) and svn:externals polling functionality seems to be restored. I've tested this with multiple Jenkins projects with wc 1.7 with many, many directory externals without any issues. The only thing I haven't tested are file externals, which I know were also problematic with recent official releases of the plugin.

          Griffin Myers added a comment - Many thanks to Tom Palmer for his fix. I've manually built the SVN plugin with his mods (followed instructions here: https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial#Plugintutorial-BuildingaPlugin ) and svn:externals polling functionality seems to be restored. I've tested this with multiple Jenkins projects with wc 1.7 with many, many directory externals without any issues. The only thing I haven't tested are file externals, which I know were also problematic with recent official releases of the plugin.

          Tim Astle added a comment -

          Nicolas, what version will this fix be made available in? (no fix version set)

          Tim Astle added a comment - Nicolas, what version will this fix be made available in? (no fix version set)

          Tim Astle added a comment -

          Tim Astle added a comment - The fix is available in version 1.45 based on some digging around. https://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin https://github.com/jenkinsci/subversion-plugin/compare/subversion-1.44...subversion-1.45

            ndeloof Nicolas De Loof
            gsxjay Jay Beeckman
            Votes:
            18 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: