cd8c8bfbb7
In version 2.1045.v4ec3ed07b_e4f Branch API Plugin added options to configure suppressing SCM trigger. Previously this feature could be only turned on or off, now it's possible to select what to suppress and on which branches. (see https://github.com/jenkinsci/branch-api-plugin/pull/244) This commit adds support for this option by allowing dictionary syntax for `suppress-scm-triggering` element: ``` - suppress-scm-triggering: suppression-strategy: suppress-branch-indexing branch-regex: ^.*test.*$ ``` while preserving support for currently existing syntax: ``` - suppress-scm-triggering: true ``` Change-Id: I5d0b32042fc07d674bf2f26e5b468f051077fb02
15 lines
470 B
YAML
15 lines
470 B
YAML
name: 'demo-multibranch-github-min'
|
|
project-type: multibranch
|
|
scm:
|
|
- github:
|
|
repo: 'foo'
|
|
repo-owner: 'johndoe'
|
|
|
|
property-strategies:
|
|
all-branches:
|
|
- suppress-scm-triggering: false
|
|
- pipeline-branch-durability-override: max-survivability
|
|
- trigger-build-on-pr-comment: "Ci build!"
|
|
- trigger-build-on-pr-review: true
|
|
- trigger-build-on-pr-update: true
|