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
13 lines
233 B
YAML
13 lines
233 B
YAML
- defaults:
|
|
name: team1
|
|
folder: team1-jobs
|
|
|
|
- job:
|
|
name: ruby-jobs/rspec
|
|
defaults: team1
|
|
builders:
|
|
- shell: |
|
|
rvm use --create ruby-2.3.0@rspec
|
|
bundle install
|
|
bundle exec rspec
|