jenkins-job-builder/tests/multibranch/fixtures/scm_github_suppress_scm_trigger.yaml
Michal Szelag 2a907c9ab0 Add support for build trigger using PR label.
Story: https://storyboard.openstack.org/#!/story/2011138

The feature is supported by GitHub PR Comment Build Plugin.  The change extends
property strategy configuration with a label regex parameter that triggers a job.
The job configuration is only supported by trusted users that have write access
to the repository.

Change-Id: Ib6910c6ebb78801710e334503a4545f08498ed0b
2025-03-04 01:52:57 +00:00

18 lines
619 B
YAML

name: 'demo-multibranch-github-min'
project-type: multibranch
scm:
- github:
repo: 'foo'
repo-owner: 'johndoe'
property-strategies:
all-branches:
- suppress-scm-triggering:
suppression-strategy: suppress-webhooks
branch-regex: ^$
- pipeline-branch-durability-override: max-survivability
- trigger-build-on-pr-comment: "Ci build!"
- trigger-build-on-pr-label: "some label"
- trigger-build-on-pr-review: true
- trigger-build-on-pr-update: true