James E. Blair | af8b208 | 2017-10-03 15:38:27 -0700 | [diff] [blame] | 1 | - pipeline: |
2 | name: check | ||||
3 | manager: independent | ||||
4 | trigger: | ||||
5 | gerrit: | ||||
6 | - event: patchset-created | ||||
7 | success: | ||||
8 | gerrit: | ||||
9 | Verified: 1 | ||||
10 | failure: | ||||
11 | gerrit: | ||||
12 | Verified: -1 | ||||
13 | |||||
14 | - job: | ||||
15 | name: base | ||||
16 | parent: null | ||||
17 | |||||
18 | - job: | ||||
19 | name: parentjob | ||||
20 | parent: base | ||||
21 | required-projects: | ||||
22 | - org/project0 | ||||
23 | vars: | ||||
24 | override: 0 | ||||
25 | child1override: 0 | ||||
26 | parent: 0 | ||||
27 | |||||
28 | - job: | ||||
29 | name: child1 | ||||
30 | parent: parentjob | ||||
31 | required-projects: | ||||
32 | - org/project1 | ||||
33 | vars: | ||||
34 | override: 1 | ||||
35 | child1override: 1 | ||||
36 | child1: 1 | ||||
37 | |||||
38 | - job: | ||||
39 | name: child2 | ||||
40 | parent: parentjob | ||||
41 | required-projects: | ||||
42 | - org/project2 | ||||
43 | vars: | ||||
44 | override: 2 | ||||
45 | child2: 2 | ||||
46 | |||||
47 | - job: | ||||
48 | name: child3 | ||||
49 | parent: parentjob | ||||
50 | |||||
51 | - project: | ||||
52 | name: org/project | ||||
53 | check: | ||||
54 | jobs: | ||||
55 | - parentjob | ||||
56 | - child1 | ||||
57 | - child2 | ||||
58 | - child3: | ||||
59 | required-projects: | ||||
60 | - org/project3 | ||||
61 | vars: | ||||
62 | override: 3 | ||||
63 | child3: 3 | ||||
64 | |||||
65 | - project: | ||||
66 | name: org/project0 | ||||
67 | |||||
68 | - project: | ||||
69 | name: org/project1 | ||||
70 | |||||
71 | - project: | ||||
72 | name: org/project2 | ||||
73 | |||||
74 | - project: | ||||
75 | name: org/project3 |