Is it possible to Scan a Multibranch Pipeline to detect the branches with a Jenkinsfile
, but without the pipeline execution?
My projects have different branc
To add to @Stqs's answer, you could also set noTriggerBranchProperty
it using Job DSL plugin, e.g.:
multibranchPipelineJob('example') {
...
branchSources {
branchSource {
...
strategy {
defaultBranchPropertyStrategy {
props {
// Suppresses the normal SCM commit trigger coming from branch indexing
noTriggerBranchProperty()
...
}
}
}
}
}
...
}