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

notifyCommit don't trigger a build if two svn repositories have same url start

XMLWordPrintable

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

      In SubversionRepositoryStatus 's onNotify method, UUID cache checks that UUID is in cache using the String 's startsWith method for a repo.
      But when having of two jobs with these svn repos/modules configured :
      https://svn.company.com/repo-client
      https://svn.company.com/repo-client-project-one

      The UUID check for https://svn.company.com/repo-client-project-one will use the UUID of https://svn.company.com/repo-client because https://svn.company.com/repo-client-project-one starts with https://svn.company.com/repo-client.

      This bug was introduced by myself when optimzing (e.g. caching) repositories URLs <-> UUIDs.

      @see https://github.com/jenkinsci/subversion-plugin/blob/subversion-2.3/src/main/java/hudson/scm/SubversionRepositoryStatus.java

            kenji Richard Bergoin
            kenji Richard Bergoin
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: