On Tue 29 Aug 2017 at 22:35, Dallas Clement <[email protected]>
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 any
> options {
> disableConcurrentBuilds()
> timestamps()
> buildDiscarder(logRotator(numToKeepStr: '8'))
> }
> triggers {
> // Poll every 5 minutes for new changes
> pollSCM '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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/4dff0257-8170-4976-8998-13f20023e528%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/4dff0257-8170-4976-8998-13f20023e528%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Sent from my phone
--
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/CA%2BnPnMztDW4UUTGdQVWQ4jx5u-XciEdf7GoS4-XZosQ03rABCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.