tests/macros/fixtures/scm/obj-in-scm-macro001.yaml
raw| 1 | - scm: |
| 2 | name: multi-branch-git |
| 3 | scm: |
| 4 | - git: |
| 5 | url: 'git://github.com/{git_user}/{git_project}.git' |
| 6 | skip-tag: true |
| 7 | branches: '{obj:git_branches}' |
| 8 | wipe-workspace: false |
| 9 | shallow-clone: true |
| 10 | fastpoll: true |
| 11 | clean: |
| 12 | before: true |
| 13 | after: true |
| 14 | submodule: |
| 15 | recursive: true |
| 16 | |
| 17 | |
| 18 | - job: |
| 19 | name: my-job |
| 20 | scm: |
| 21 | - multi-branch-git: |
| 22 | git_user: 'me' |
| 23 | git_project: 'my-project' |
| 24 | git_branches: |
| 25 | - main-branch |
| 26 | - other-branch |