--}
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4dff0257-8170-4976-8998-13f20023e528%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue 29 Aug 2017 at 22:35, Dallas Clement <dallas.a...@gmail.com> wrote:If I click on the "Scan Multibranch Pipeline Now" link in the Jenkins dashboard, it will kick off a build immediately even when there were no changes. I have my declarative Jenkinsfile configured to poll for SCM changes. I only want builds to be triggered from SCM changes. Any idea how I can suppress this behavior?pipeline {agent anyoptions {disableConcurrentBuilds()timestamps()buildDiscarder(logRotator(numToKeepStr: '8'))}triggers {// Poll every 5 minutes for new changespollSCM 'H/5 * * * *'You do know in multibranch that this poll is ignored?
--}
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4dff0257-8170-4976-8998-13f20023e528%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Sent from my phone
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c4d93f77-80ec-4f7c-a783-0947fdb3af5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No I don't have any post commit hook defined. Starting with a green field here. Sounds like that's what I need to setup though.I also don't have the "Scan Multibranch Pipeline Triggers" checkbox enabled on my job configuration. I really don't know how it could be triggering unless that PollSCM in my Jenkinsfile is somehow working.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1f85a58d-70a2-4e74-9aba-244baa19f2ef%40googlegroups.com.
I removed the "PollSCM" from the "triggers" section of my declarative Jenkinsfile. And then I enabled "Scan multibranch pipeline triggers" and the "Periodically if not otherwise run" option. This method of polling seems to work fine so far.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1236fa8d-de0a-4256-8b14-66a192c9e3a8%40googlegroups.com.
About scan repository triggers, I generated multibranch jobs with a jobDSL and replaced "periodic" with "cron" to avoid a huge amount of indexing happening at once. Is that supposed to even be an option? Since it's not in the configuration UI.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d4537fb1-4bd3-4bac-ac79-b95fbcb6a2fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Periodic randomly levels all jobs
Periodic randomly levels all jobs
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a7c933c2-e457-4a23-9794-bb88c788e9be%40googlegroups.com.