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

Do not detect renamed GitHub repos under the old name (bonus points if job can be renamed when rename detected)

      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)

          John Hovell created issue -
          Stephen Connolly made changes -
          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)
          James Dumay made changes -
          Labels New: org-folder
          Vivek Pandey made changes -
          Labels Original: org-folder New: org-folder triaged-2018-11
          Jose Blas Camacho Taboada made changes -
          Assignee New: Jose Blas Camacho Taboada [ jtaboada ]
          Jose Blas Camacho Taboada made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jose Blas Camacho Taboada made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Fixed but Unreleased [ 10203 ]
          Jose Blas Camacho Taboada made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]
          Andreas Nygard made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Jose Blas Camacho Taboada made changes -
          Assignee Original: Jose Blas Camacho Taboada [ jtaboada ]

            Unassigned Unassigned
            jhovell John Hovell
            Votes:
            7 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated: