blob: 75aa0c9a544eca417ab62c4b4495b9690df10bbf (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
|
---
- project:
name: ci-platform-AGL-repo-1
machine:
- bbe
- h3ulcb-nogfx
- qemux86-64
- qemuarm
- qemuarm64
- raspberrypi4
jobs:
- ci-platform-AGL-repo-verify
description: "Managed by JJB. Do not Edit. \
<br>Build time graph:<br><img src='buildTimeGraph/png' />"
################################################################################################################################################################
################################################################################################################################################################
################################################################################
################################################################################
# -verify = trigger from gerrit and control job, multijob order
################################################################################
- job-template:
name: 'ci-platform-AGL-repo-verify'
project-type: multijob
concurrent: true
node: control-slave
description: "Managed by JJB. Do not Edit. \
<br>Build time graph:<br><img src='buildTimeGraph/png' />"
parameters:
- string:
name: GERRIT_PROJECT
default: 'AGL/AGL-repo'
description: "Project to build"
- string:
name: GERRIT_BRANCH
default: master
description: "branch to build"
- string:
name: GERRIT_REFSPEC
default: refs/heads/master
description: "refspec to build"
- string:
name: GERRIT_CHANGE_NUMBER
default: "8313"
description: "change # to build"
- string:
name: GERRIT_PATCHSET_NUMBER
default: "2"
description: "patchset # to build"
build-discarder:
days-to-keep: 30
artifact-days-to-keep: -1
artifact-num-to-keep: 5
triggers:
- gerrit-trigger-patch-submitted-manual-verified:
name: 'AGL/AGL-repo'
branch: '**/**/**'
file-paths:
- compare-type: REG_EXP
pattern: 'jsmxml'
wrappers:
- agl-infra-wrappers:
build-timeout: '{build-timeout}'
builders:
- shell: |
#set -x
export TRIGGERURL=$(echo ${{BUILD_URL}} | sed -e 's,-CIB-start.*,,')
echo \$TRIGGERURL
ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified=0 -n NONE --message="CI-cycle\ started.\ URL:\ ${{BUILD_URL}}" || true
# - multijob:
# name: CIB-AGL-repo-start
# condition: SUCCESSFUL
# projects:
# - name: 'ci-platform-AGL-repo-verify-CIB-start'
# current-parameters: true
# abort-all-job: true
# kill-phase-on: FAILURE
- multijob:
name: CIB-AGL-repo-touchstone
condition: SUCCESSFUL
projects:
- name: 'ci-platform-AGL-repo-verify-CIB-qemux86-64'
current-parameters: true
abort-all-job: true
kill-phase-on: FAILURE
- multijob:
name: CIB-AGL-repo-devboards
condition: SUCCESSFUL
projects:
- name: 'ci-platform-AGL-repo-verify-CIB-qemuarm'
current-parameters: true
#abort-all-job: true
kill-phase-on: FAILURE
- name: 'ci-platform-AGL-repo-verify-CIB-qemuarm64'
current-parameters: true
#abort-all-job: true
kill-phase-on: FAILURE
- name: 'ci-platform-AGL-repo-verify-CIB-bbe'
current-parameters: true
#abort-all-job: true
kill-phase-on: NEVER
- name: 'ci-platform-AGL-repo-verify-CIB-h3ulcb-nogfx'
current-parameters: true
#abort-all-job: true
kill-phase-on: FAILURE
- name: 'ci-platform-AGL-repo-verify-CIB-raspberrypi4'
current-parameters: true
kill-phase-on: FAILURE
- multijob:
name: CIB-AGL-repo-finish-success
condition: SUCCESSFUL
projects:
- name: 'ci-platform-AGL-repo-verify-CIB-finish-success'
current-parameters: true
#abort-all-job: true
kill-phase-on: FAILURE
#- multijob:
# name: CIB-AGL-repo-verify-failure
# condition: FAILURE
# projects:
# - name: 'ci-platform-AGL-repo-verify-failure'
# current-parameters: true
# #abort-all-job: true
# kill-phase-on: FAILURE
# - multijob:
# name: 'CIBT-AGL-repo-start'
# condition: SUCCESSFUL
# projects:
# - name: 'ci-platform-AGL-repo-verify-CIBT-start'
# current-parameters: true
# abort-all-job: true
# kill-phase-on: FAILURE
- multijob:
name: CIBT-AGL-repo
condition: SUCCESSFUL
projects:
- name: 'ci-platform-AGL-repo-verify-CIBT-qemux86-64'
current-parameters: true
#abort-all-job: true
kill-phase-on: NEVER
- name: 'ci-platform-AGL-repo-verify-CIBT-qemuarm'
current-parameters: true
#abort-all-job: true
kill-phase-on: NEVER
- name: 'ci-platform-AGL-repo-verify-CIBT-qemuarm64'
current-parameters: true
#abort-all-job: true
kill-phase-on: NEVER
- name: 'ci-platform-AGL-repo-verify-CIBT-h3ulcb-nogfx'
current-parameters: true
#abort-all-job: true
kill-phase-on: NEVER
- name: 'ci-platform-AGL-repo-verify-CIBT-raspberrypi4'
current-parameters: true
#abort-all-job: true
kill-phase-on: NEVER
- multijob:
name: 'CIBT-AGL-repo-complete'
condition: ALWAYS
projects:
- name: 'ci-platform-AGL-repo-verify-CIBT-complete'
current-parameters: true
abort-all-job: true
kill-phase-on: NEVER
- multijob:
name: 'CIBT-AGL-repo-finish-success'
condition: SUCCESSFUL
projects:
- name: 'ci-platform-AGL-repo-verify-CIBT-finish-success'
current-parameters: true
abort-all-job: false
kill-phase-on: NEVER
- multijob:
name: CIB-AGL-repo-extra-variants
condition: COMPLETED
projects:
- name: 'ci-platform-AGL-repo-verify-CIB-html5-qemux86-64'
current-parameters: true
abort-all-job: false
kill-phase-on: NEVER
- name: 'ci-platform-AGL-repo-verify-CIB-aglcompositor-qemux86-64'
current-parameters: true
abort-all-job: false
kill-phase-on: NEVER
publishers:
- trigger-parameterized-builds:
- project:
- ci-platform-AGL-repo-verify-failure
condition: FAILED
current-parameters: true
predefined-parameters: ORIG_BUILD_URL=${{BUILD_URL}}
|