Johannes Carlsson 50dd589966 Fix "abort-builds" for WorkflowMultiBranchProject
"abort-builds" must be present in job_contents_keys in order for it to
properly work.

Also add a multibranch test for the yamlparser that will verify that
this works properly.

Change-Id: Ide9cd0f89a19002977cdcc2dfb9cd873e7d16945
2024-11-19 11:30:35 +01:00

14 lines
297 B
YAML

- job:
name: 'demo-multibranch-multi-scm-full'
description: 'Workflow demo'
project-type: multibranch
periodic-folder-trigger: 1d
prune-dead-branches: True
number-to-keep: '10'
days-to-keep: '10'
abort-builds: True
script-path: 'some.Jenkinsfile'
scm: []