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

Subversion post-commit notif not working when URL contains "@NNN"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin
    • Jenkins version 2.54, Subversion plugin version 2.7.2, RHEL OS, Java 1.8_131

      When the Repository URL is defined with "@NNN" for revision, the post commit hook does not find the job. Error in log is "No subversion consumers for UUID...". After @NNN is removed, the notify works fine and the job is kicked off.

      It seems like this is a bug because the post-commit notification is designed to run for a specific revision. Also, looking at the source code, I found SvnHelper.getUrlWithoutRevision seems designed for this exact purpose. However it is in the hudson branch of the code not the jenkins branch.

      Removing the "@NNN" from the URL isn't an ideal solution for us because we want to use the same job for auto builds and manual builds where the user selects the revision to build.

            Unassigned Unassigned
            tosborn Tammy Osborn
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: