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 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.
For more options, visit https://groups.google.com/d/optout.