
Folders was not actually tested by tests. Fix tests and add more tests. Fix bug in code unearthed by now-working tests: defaults were not checked for job folders. Task: 49188 Change-Id: I922af7a28b0ec0c99ef3f8a17b3d5a9c10f2dce0
20 lines
408 B
YAML
20 lines
408 B
YAML
# 'folders' attribute from defaults should be used (combined with job name) for job templates.
|
|
|
|
- defaults:
|
|
name: team1
|
|
folder: team1-jobs
|
|
|
|
- job:
|
|
name: ruby-jobs/sample-job
|
|
defaults: team1
|
|
builders:
|
|
- shell: |
|
|
rvm use --create ruby-2.3.0@rspec
|
|
bundle install
|
|
bundle exec rspec
|
|
|
|
- project:
|
|
name: sample-project
|
|
jobs:
|
|
- ruby-jobs/sample-job
|