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)

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          pierrebtz Pierre Beitz added a comment -

          Seeing the issue, although no new build is triggered on the old job anymore. I believe this is still the same issue though, part of it was fixed somehow since this bug was reported.

          Show
          pierrebtz Pierre Beitz added a comment - Seeing the issue, although no new build is triggered on the old job anymore. I believe this is still the same issue though, part of it was fixed somehow since this bug was reported.
          Hide
          jtaboada Jose Blas Camacho Taboada added a comment - - edited

          This issue is already fixed in version 2.5.3

          Show
          jtaboada Jose Blas Camacho Taboada added a comment - - edited This issue is already fixed in version 2.5.3
          Hide
          teilo James Nord added a comment -

          and yet nothing in the release notes for 2.5.3?

          Show
          teilo James Nord added a comment - and yet nothing in the release notes for 2.5.3?
          Hide
          nygardan Andreas Nygard added a comment -

          We're on 2.6.0 and still experiencing this issue. Jose Blas Camacho Taboada could you please share some more info around this?

          Show
          nygardan Andreas Nygard added a comment - We're on 2.6.0 and still experiencing this issue. Jose Blas Camacho Taboada could you please share some more info around this?
          Hide
          nygardan Andreas Nygard added a comment -

          We are still experiencing this issue on the latest version of the plugin, with the same criteria as in the description.

          Can you please advise how this should be triaged?

          Show
          nygardan Andreas Nygard added a comment - We are still experiencing this issue on the latest version of the plugin, with the same criteria as in the description. Can you please advise how this should be triaged?

            People

            • Assignee:
              jtaboada Jose Blas Camacho Taboada
              Reporter:
              jhovell John Hovell
            • Votes:
              7 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

              • Created:
                Updated: