jenkinsci / jenkinsci/subversion-plugin

[JENKINS-55578] HTTP redirection on subversion repo causes build loop

Open
#1,501 2 comments 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:minor resolution:unresolved
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


  • status: Open
  • priority: Minor
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 20251212-090250

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.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.

  • environment: Jenkins 2.150.1

1 attachment

- [consoleText.txt](https://issues.jenkins.io/secure/attachment/54999/consoleText.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.