[JENKINS-37219] Add a job property for overriding branch index triggers #48
Works in both directions - disables branch index triggers if set to
Theoretically, the config shouldn't show up for any job type but
jenkinsci/workflow-multibranch-plugin#26 will be replaced with an integration test of this in the
referenced this pull request
Aug 17, 2016
changed the title
[FIXED JENKINS-37219] Add a job property for overriding branch index …
Aug 26, 2016
Hi, i am new to jenkins pipeline. Do you have an example of how i can use this to prevent automatic scm trigger in jenkinsfile? it looks complicated. I was hoping for something like properties[autoSCMTrigger: false]. I know you can set under configurations but i am using cloudbees jenkins now.
This is not the way to do that. This was a hack that has now been superseded. What you want to do is add a branch build strategy plugin (for example https://plugins.jenkins.io/basic-branch-build-strategies ) then you can define for a multibranch project which branches should trigger a build when a change is detected.