-
Bug
-
Resolution: Unresolved
-
Major
If a Github repo is renamed, due to the fact that Github supports repository redirects (which doesn't seem possible to disable) Jenkins will create a repository and trigger a build for a repo under the old name and under the new name as well.
Re-scanning the old repo name does not cause it to be removed.
https://developer.github.com/changes/2015-07-21-automatic-redirects-for-renamed-repositories/
This is problematic as it can confuse users and also trigger duplicate builds under the new and old repo names.
Github branch source plugin 2.2.3
Github API plugin 1.86
[JENKINS-46068] Do not detect renamed GitHub repos under the old name (bonus points if job can be renamed when rename detected)
Summary | Original: Renaming Github repo causes duplicate projects / builds | New: Do not detect renamed GitHub repos under the old name (bonus points if job can be renamed when rename detected) |
Labels | New: org-folder |
Labels | Original: org-folder | New: org-folder triaged-2018-11 |
Assignee | New: Jose Blas Camacho Taboada [ jtaboada ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Fixed but Unreleased [ 10203 ] |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Closed [ 6 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Closed [ 6 ] | New: Reopened [ 4 ] |
Assignee | Original: Jose Blas Camacho Taboada [ jtaboada ] |