jenkins-job-builder/tests/yamlparser/fixtures/project_workflow_template002.yaml
David Caro 9477275592 Added support for the workflow job type
There's a relatively new workflow plugin, based on the old build flow
one

Change-Id: I5541443e15335839754afee59f1b74ed29ce6676
Signed-off-by: David Caro <dcaroest@redhat.com>
2015-11-24 21:18:45 +01:00

23 lines
417 B
YAML

- job-template:
name: '{name}-unit-tests'
project-type: workflow
dsl: |
build job: "job1"
parallel [
2a: build job: "job2a",
2b: node "dummynode" {{
sh "echo {isay}"
}}
]
- job-group:
name: '{name}-tests'
jobs:
- '{name}-unit-tests':
isay: 'hello'
- project:
name: project-name
jobs:
- '{name}-tests'