jenkins-job-builder/tests/yamlparser/fixtures/templates001.yaml
Darragh Bailey f89fac42cf Show usage of job-group
Make sure the example referenced in the documentation for ``Job Groups``
actually makes use of 'job-group'.

Change-Id: Ib78bdb459db23f57093c1fd4a6dd74a5080dc239
2014-07-12 20:58:27 +01:00

29 lines
536 B
YAML

- job-template:
name: '{name}-unit-tests'
builders:
- shell: unittest
publishers:
- email:
recipients: '{mail-to}'
- job-template:
name: '{name}-perf-tests'
builders:
- shell: perftest
publishers:
- email:
recipients: '{mail-to}'
- job-group:
name: '{name}-tests'
jobs:
- '{name}-unit-tests':
mail-to: developer@nowhere.net
- '{name}-perf-tests':
mail-to: projmanager@nowhere.net
- project:
name: project-name
jobs:
- '{name}-tests'