Re: CI with Git in Jenkins

2020-04-01 Thread Mark Waite
I has assumed that was what you meant. I assumed the question was, "Should I specify a (possibly empty) polling interval in the Jenkinsfile on the branches of my multibranch pipeline?" My answer is, no, use web hooks as the better solution. On Wed, Apr 1, 2020 at 9:04 AM Roland Asmann wrote: >

Re: CI with Git in Jenkins

2020-04-01 Thread Roland Asmann
I'm sorry, I guess I wasn't quite clear on what I meant with this last question. What I want to know is if the consensus is to put the *empty* definition of the polling in the Jenkinfile (so that configuring a single pipeline works) even when using multibranch pipelines? On 30.03.2020 18:55

Re: CI with Git in Jenkins

2020-03-30 Thread Mark Waite
On Mon, Mar 30, 2020 at 10:03 AM Roland Asmann wrote: > Thanks for the explanation. I do agree, I just thought it a bit weird > that there was a difference in behavior... > > I still would like to know, what the consensus is to writing the > Jenkinsfile: add polling or not? > Consensus is to not

Re: CI with Git in Jenkins

2020-03-30 Thread Roland Asmann
Thanks for the explanation. I do agree, I just thought it a bit weird that there was a difference in behavior... I still would like to know, what the consensus is to writing the Jenkinsfile: add polling or not? Thanks. On 25.03.2020 14:53, Mark Waite wrote: Multibranch pipelines assume that

Re: CI with Git in Jenkins

2020-03-25 Thread Mark Waite
Multibranch pipelines assume that you want to build all branches that include a Jenkinsfile any time the notification is received through notifyCommit or through a Web Hook. If you do not want one or more branches built on multibranch pipelines, you'll need to exclude them. The Basic Branch Build