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


- job:
    name: my-job
    scm:
      - multi-branch-git:
          git_user: 'me'
          git_project: 'my-project'
          git_branches:
            - main-branch
            - other-branch