| 1 | # 'folders' attribute from defaults should be used (combined with job name) for job templates. |
| 2 | |
| 3 | - defaults: |
| 4 | name: team1 |
| 5 | folder: team1-jobs |
| 6 | |
| 7 | - job: |
| 8 | name: ruby-jobs/sample-job |
| 9 | defaults: team1 |
| 10 | builders: |
| 11 | - shell: | |
| 12 | rvm use --create ruby-2.3.0@rspec |
| 13 | bundle install |
| 14 | bundle exec rspec |
| 15 | |
| 16 | - project: |
| 17 | name: sample-project |
| 18 | jobs: |
| 19 | - ruby-jobs/sample-job |