Hi, I set branches to build to be empty. It works fine, just for some 
reason on the first run of the jenkins job(as in the very first time Build 
#1 is executed) it assumes that all branches have been changed even when I 
only push to one branch. How do I fix that? I only want it to build changed 
branches(which it does on all builds except for the first where it builds 
all branches even though none of them have been pushed to in the commit 
that triggered the build).

On Tuesday, April 7, 2015 at 4:14:44 PM UTC-4, Mark Waite wrote:
>
> If you have configured git to build all branches (branches to build empty 
> or * or */* or origin/*), then you've asked that it build all branches.  If 
> a branch has not been built and changes are detected, then that branch will 
> be scheduled to build.
>
> If you don't want certain branches built (ever), you probably need to 
> adjust your definition of "branches to build" to exclude those branches 
> which you never want to build.
>
> Mark Waite
>
> On Tue, Apr 7, 2015 at 12:45 PM, jpd4nt <jdra...@nationaltheatre.org.uk 
> <javascript:>> wrote:
>
>> Hi Konrad.
>>
>> What version of jenkins are you using?
>> What version of github plugin are you using?
>>
>> How have you get git configured for the project?
>>
>> -- 
>> 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 <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/a8a038dd-d951-4887-9da8-b027438edb1e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/a8a038dd-d951-4887-9da8-b027438edb1e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Thanks!
> Mark Waite
>  

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/757f5915-f242-45d5-9fdd-de795a5c121e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to