[JIRA] (JENKINS-46068) Do not detect renamed GitHub repos under the old name (bonus points if job can be renamed when rename detected)

9 views
Skip to first unread message

docwhat@gerf.org (JIRA)

unread,
Feb 19, 2018, 9:58:02 AM2/19/18
to jenkinsc...@googlegroups.com
Christian Höltje commented on Bug JENKINS-46068
 
Re: Do not detect renamed GitHub repos under the old name (bonus points if job can be renamed when rename detected)

Under the covers, the Github Organization Folder should be tracking the repository ID (a number) instead of the name of the repository.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

simon@wydooghe.com (JIRA)

unread,
Feb 22, 2018, 6:45:02 AM2/22/18
to jenkinsc...@googlegroups.com

simon@wydooghe.com (JIRA)

unread,
Feb 22, 2018, 6:46:02 AM2/22/18
to jenkinsc...@googlegroups.com
Simon Wydooghe edited a comment on Bug JENKINS-46068
I can confirm this behaviour after renaming a bunch of our repositories. What's the easiest workaround to remove the old repo in Jenkins for now?

phil.whelan@bench.co (JIRA)

unread,
May 30, 2018, 1:55:01 PM5/30/18
to jenkinsc...@googlegroups.com

I'm hitting this too. It's a real pain not being able to remove a repo. Keen to hear a workaround for this, too, if anyone has one.

simon@wydooghe.com (JIRA)

unread,
May 31, 2018, 3:38:03 AM5/31/18
to jenkinsc...@googlegroups.com
Simon Wydooghe edited a comment on Bug JENKINS-46068
[~philw_bench] You can delete the job directory and reload the Jenkins configuration for now I think. Still a pain in the ass ;)

simon@wydooghe.com (JIRA)

unread,
May 31, 2018, 3:38:03 AM5/31/18
to jenkinsc...@googlegroups.com

Phil Whelan You can delete the job directory and reload the Jenkins configuration for now I think.

phil.whelan@bench.co (JIRA)

unread,
May 31, 2018, 11:34:02 AM5/31/18
to jenkinsc...@googlegroups.com

docwhat@gerf.org (JIRA)

unread,
Jun 1, 2018, 3:34:02 PM6/1/18
to jenkinsc...@googlegroups.com

If you don't care about the history, you can do this:

1. Rename the repository 'original' to 'classic' in github.
2. Create a new repository 'original'
3. Delete the (empty) repository 'original'

This deletes the redirect.

It's a crappy workaround and loses the history.

docwhat@gerf.org (JIRA)

unread,
Jun 25, 2018, 1:45:02 PM6/25/18
to jenkinsc...@googlegroups.com

Under the covers, the plugin should be using the repository ID for tracking, not the name. The name is changeable, but the ID isn't.

This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

vivek.pandey@gmail.com (JIRA)

unread,
Nov 19, 2018, 10:41:02 AM11/19/18
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
 
Jenkins / Bug JENKINS-46068
Change By: Vivek Pandey
Labels: org-folder triaged-2018-11
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

avadhmr@gmail.com (JIRA)

unread,
Dec 20, 2018, 11:18:02 PM12/20/18
to jenkinsc...@googlegroups.com

pibeitz@gmail.com (JIRA)

unread,
Jun 28, 2019, 5:27:02 AM6/28/19
to jenkinsc...@googlegroups.com

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.

jtaboada@cloudbees.com (JIRA)

unread,
Jul 10, 2019, 5:28:03 AM7/10/19
to jenkinsc...@googlegroups.com

jtaboada@cloudbees.com (JIRA)

unread,
Jul 10, 2019, 5:59:04 AM7/10/19
to jenkinsc...@googlegroups.com
Status: Open In Progress

jtaboada@cloudbees.com (JIRA)

unread,
Jul 10, 2019, 6:00:08 AM7/10/19
to jenkinsc...@googlegroups.com

jtaboada@cloudbees.com (JIRA)

unread,
Jul 10, 2019, 6:00:10 AM7/10/19
to jenkinsc...@googlegroups.com

jtaboada@cloudbees.com (JIRA)

unread,
Jul 10, 2019, 6:08:02 AM7/10/19
to jenkinsc...@googlegroups.com

jtaboada@cloudbees.com (JIRA)

unread,
Jul 10, 2019, 6:09:06 AM7/10/19
to jenkinsc...@googlegroups.com

jnord@cloudbees.com (JIRA)

unread,
Aug 16, 2019, 8:29:03 AM8/16/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages