Re: Excluding builds of certain git branches on ASF Jenkins

2020-07-22 Thread Maarten Mulders
On 22/07/2020 11:49, Elliotte Rusty Harold wrote: On Wed, Jul 22, 2020 at 8:36 AM Maarten Mulders wrote: In the Jenkins user interface, I see there's an option to build only specific branches. I'm thinking of excluding everything that starts with dependabot/ there, just to be sure. Before I co

Re: Excluding builds of certain git branches on ASF Jenkins

2020-07-22 Thread Elliotte Rusty Harold
On Wed, Jul 22, 2020 at 8:36 AM Maarten Mulders wrote: > In the Jenkins user interface, I see there's an option to build only > specific branches. I'm thinking of excluding everything that starts with > dependabot/ there, just to be sure. Before I continue, does anyone know > if it's possible to

Excluding builds of certain git branches on ASF Jenkins

2020-07-22 Thread Falko Modler
Hi Maarten, you can add 'when' to a 'stage' but that would not prevent the job from being triggered. AFAICS, nothing that you can put in Jenkinsfile will prevent the job from being triggered. Cheers, Falko - To unsubscribe, e

Excluding builds of certain git branches on ASF Jenkins

2020-07-22 Thread Maarten Mulders
Hi all, As you may have noticed, yesterday we had a situation on Jenkins where around 500 jobs where queuing up. Many of them of them where building Dependabot branches from our Github mirrors. The way Dependabot works is they do *not* create a fork of our repo's. Instead they create a branc