specifying branches to build for a multi-branch pipeline

11 views
Skip to first unread message

ziffusion

unread,
Jan 23, 2018, 1:48:55 PM1/23/18
to Jenkins Users
Hi

Is there a way get the multi-branch pipeline to build only some specific branches in the repo?

We have hundreds of branches in our repo, and that would create a huge clutter in the Jenkins dashboard if the pipeline picked them all up.

What kind of a workflow works for this? I am sure many, may folks have a plethora of branches to deal with.

Stephen Connolly

unread,
Jan 23, 2018, 6:32:15 PM1/23/18
to jenkins...@googlegroups.com
Wildcard branches filter trait is the basic way...

You probably want https://wiki.jenkins.io/display/JENKINS/SCM+Filter+Branch+PR+Plugin though (assumes your SCMSource has implemented trait support)
--
Sent from my phone
Reply all
Reply to author
Forward
0 new messages