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

HTTP redirection on subversion repo causes build loop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • subversion-plugin
    • None
    • Jenkins 2.150.1

       

      Jenkins re-triggers builds although there are no changes in the subversion repository. This causes an endless building loop on our build server.

      Configuration:
      SCM-Polling is enabled (triggering every 5 minutes) and the repo is set to the following HTTP endpoint: http://svn.server

      Recent configuration change:
      Our subversion repositories switched to HTTPS. HTTP-URLs are redirected to HTTPS (301 Moved Permanently).

      Observation:
      The subversion polling log states that a new build is required as the workspace does not contain http://svn.server. Jenkins seems to understand the redirection when checking out but does not recognize it before the checkout (when it compares the URLs?). That's why it performs a checkout+build on and on.

            Unassigned Unassigned
            np247 Nicolas Peifer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: