jenkinsci / jenkinsci/subversion-plugin
[JENKINS-55578] HTTP redirection on subversion repo causes build loop
- Dominant language
- Java
- Stars
- 131
- Forks
- 275
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 6
Description
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.
---
Originally reported by np247, imported from: HTTP redirection on subversion repo causes build loop
Raw content of original issue
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.serverRecent 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.
- environment:
Jenkins 2.150.1
1 attachment
- [consoleText.txt](https://issues.jenkins.io/secure/attachment/54999/consoleText.txt)
Contributor guide
Assessment
This issue has not been assessed yet.