Found it.
I added ‘Build regular branches when change is detected’ globally and will see 
how it goes.

Though it doesn’t explain for me why branches other than ‘master’ behave 
correctly and only master not.

Andor



> On 2020. Jul 27., at 11:37, Andor Molnar <an...@apache.org> wrote:
> 
> Hi Gav,
> 
> Sorry I cannot decrypt your message. :(
> Where can I find ‘Build Strategies’ section in a multi-branch setup?
> 
> Andor
> 
> 
> 
>> On 2020. Jul 26., at 13:11, Gavin McDonald <gmcdon...@apache.org> wrote:
>> 
>> Hi ,
>> 
>> On Sun, Jul 26, 2020 at 12:17 PM Andor Molnar <an...@apache.org> wrote:
>> 
>>> Hi,
>>> 
>>> I’ve just set up the same config for ZooKeeper: multibranch pipeline with
>>> different JDK versions:
>>> 
>>> 
>>> https://ci-hadoop.apache.org/view/ZooKeeper/job/zookeeper-master-maven-multipipeline/
>>> 
>>> It works fine except that PollSCM trigger is crazy on master branch: it
>>> triggers a new build every hour regardless of whether changes are present
>>> on the branch or not.
>>> 
>>> Looks like it’s a known Jenkins issue, but I haven’t found resolution yet.
>>> 
>> 
>> Might be worth investigating the 'Build Strategies' section in your config
>> 
>> Gav...
>> 
>> 
>>> 
>>> Andor
>>> 
>>> 
>>> 
>>> 
>>>> On 2020. Jul 22., at 16:08, Matt Sicker <boa...@gmail.com> wrote:
>>>> 
>>>> https://www.jenkins.io/doc/book/pipeline/syntax/#declarative-matrix
>>>> 
>>>> This is a fairly recent feature (like within the past year) which
>>>> makes it super easy to write a pipeline across multiple testing axes.
>>>> 
>>>> On Wed, 22 Jul 2020 at 07:40, Dennis Kieselhorst <d...@apache.org>
>>> wrote:
>>>>> 
>>>>>> At Struts project I developed something like this, this runs
>>>>>> sequentially (not sure why but there was a reason) and also supports
>>>>>> PRs (but that needs a dedicated Github user with access to ASF)
>>>>>> 
>>>>>> https://github.com/apache/struts/blob/master/Jenkinsfile
>>>>> 
>>>>> Thanks Łukasz, that's what I was looking for. If you add parallel as
>>> described in https://www.jenkins.io/blog/2017/09/25/declarative-1/ I
>>> would assume that they no longer run sequentially.
>>>>> 
>>>>> Best,
>>>>> Dennis
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Matt Sicker <boa...@gmail.com>
>>> 
>>> 
>> 
>> -- 
>> 
>> *Gavin McDonald*
>> Systems Administrator
>> ASF Infrastructure Team
> 

Reply via email to