blob: f1d2b2cc9539825f44c268cf84dffaa75f39307e (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
repo first:
path: ../first
repo second:
path: ../second
job single:
checkout:
repo: first
dest: first
shell:
- tar czf first.tar.gz first
artifact tarball:
path: ./first.tar.gz
job multiple:
checkout:
- repo: first
dest: first-subdir
subtree: subdir
- repo: second
dest: second-subdir
subtree: sub
shell:
- tar czf pack.tar.gz first-subdir second-subdir
artifact tarball:
path: ./pack.tar.gz
job combine:
checkout: null
shell:
- ls
uses:
- single.tarball
- multiple.tarball
|