jenkins-job-builder/tests/macros/fixtures/scm/multi-scms002.yaml
Lucas Dutra Nunes e5d291b79b SCM repo: add depth option
Change-Id: I056ca2e6eedfb6915338e654597ae562d89a6295
Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
2016-02-18 16:21:57 -02:00

36 lines
740 B
YAML

- scm:
name: first-scm
scm:
- repo:
manifest-url: https://example.com/project/
manifest-branch: stable
manifest-file: repo.xml
manifest-group: drivers
destination-dir: build
repo-url: https://internal.net/projects/repo
mirror-dir: ~/git/project/
jobs: 3
depth: 2
current-branch: false
quiet: false
force-sync: false
- scm:
name: second-scm
scm:
- git:
url: ssh://jenkins@review.openstack.org:29418/second.git
branches:
- origin/master
- scm:
name: first-and-second
scm:
- first-scm
- second-scm
- job:
name: my-job
scm:
- first-and-second