Github branch source plugin: ignore archived repos

20 views
Skip to first unread message

Louis Piët

unread,
Oct 18, 2018, 4:58:02 AM10/18/18
to Jenkins Users
Hi,

We are using the git hub branch source plug in to automatically discovery most of our projects on github, this works like a charm, however we are running into an issue with archived repos. These are read only and only kept for reference/auditors, if they  contain a Jenkisfile however, they are still picked up by the plugin and processed as if live. As the dependencies and such are all very stale this leads to failures and unnecessary noise in our build reports. I can't find a way to tell the plugin to ignore archived repos ( and couldn;t find an issue regarding this in the jira either).

Am i overlooking an option? Is there a workaround i'm not seeing?

Thanks,

Louis

Denis

unread,
Oct 18, 2018, 9:43:18 AM10/18/18
to jenkins...@googlegroups.com
As a workaround you could rename the Jenkinsfile on those repositories to something like Jenkinsfile_ar
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Jan Monterrubio

unread,
Oct 18, 2018, 6:35:23 PM10/18/18
to jenkins...@googlegroups.com
I assume you’re using something like an Organization Folder that’s scanning those? 



--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/258EEE7D-E8EC-49C9-A24A-DB8EEFFDD02C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Baptiste Mathus

unread,
Oct 18, 2018, 6:52:35 PM10/18/18
to jenkins...@googlegroups.com
If confirmed, that would definitely sound like a bug IMO. 

Reply all
Reply to author
Forward
0 new messages