you can use some regex in the branch name or use the below 
plugin https://wiki.jenkins-ci.org/display/JENKINS/Multi-Branch+Project+Plugin

first approach might help to use pushing rather than polling, second 
approach, as far as I know, it's polling based.

It does also depend on whether you would like to keep the history (unit 
test output, trend, .... ) independently, if so, first approach might not 
be the best one...

Cheers

On Thursday, 24 March 2016 15:58:52 UTC, builderj wrote:
>
> Hello experts
>
> I'm just wondering if there is a way to set up ONE CI build job in Jenkins 
> for 4 different branches. 
>
> Here is the scenario. Dev team will be working on 4 different feature 
> branches and check in changes regularly. So the parent CI job should looks 
> for changes in all the 4 branches and trigger the build for the branches 
> where changes were checked in.
>
> Appreciate any help.
>
> Thanks in advance.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b706f545-062e-48fd-bef3-c64b72a1a77e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to