You might need to refer to the trais sections in the branchSource - <YOUR_JENKINS_URL>/plugin/job-dsl/api-viewer/index.html#path/multibranchPipelineJob-branchSources-branchSource-source-git-traits-headWildcardFilter
multibranchPipelineJob(buildName) { ... branchSources { branchSource { source { git { remote(<url>) traits { headWildcardFilter { includes('master* branch1') excludes('') } } } } buildStrategies { ignoreCommitterStrategy { ignoredAuthors("j...@foo.com") allowBuildIfNotExcludedAuthor(true) } } } } } Cheers -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b17f6482-6a7e-4d16-b697-9f0f7cd085cb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.