af9d984baa
Allows specifying a folder attribute for each job generated, which in turn is used when creating or uploading to place the job under the requested folder. The job name is expanded after defaults are applied, to support the attribute being defined within a set of defaults applied to a number of jobs. This in turn allows for multiple jobs with the same basename to exist, provided they are targeted at different folders. Does not support creating the folders if they do not exist. Change-Id: I8c2157c4c81087cc972a048d1b88d5f08ac65361
15 lines
211 B
YAML
15 lines
211 B
YAML
|
|
- job-template:
|
|
name: 'same-{text}-name'
|
|
folder: '{path}'
|
|
|
|
- project:
|
|
name: test-same-job-name
|
|
path: folders
|
|
text: job
|
|
jobs:
|
|
- 'same-{text}-name'
|
|
|
|
- job:
|
|
name: same-job-name
|