-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: pipeline-multibranch-defaults-plugin
-
None
Default Jenkinsfile get's applied to each available branch. Would it be possible to restrict this behavior using pattern matching to that I don't have to fill one Jenkinsfile with
when {
branch "master"
}
when {
branch "develop"
}
when {
branch "hotfix/**"
}
when {
branch "support/**"
}
when {
branch "release/**"
}
but instead I could split these sections into 5 individual Jenkinsfiles. The non-mached branched would not be indexes.