5 #####################################
7 #####################################
13 #####################################
15 #####################################
18 slave-label: 'opnfv-build-centos'
20 slave-label: 'opnfv-build-centos'
21 #####################################
23 #####################################
25 - 'escalator-verify-{stream}'
26 - 'escalator-verify-{phase}-{stream}'
27 - 'escalator-merge-{stream}'
28 - 'escalator-merge-{phase}-{stream}'
29 #####################################
31 #####################################
33 name: 'escalator-verify-{stream}'
35 project-type: multijob
59 server-name: 'gerrit.opnfv.org'
61 - patchset-created-event:
62 exclude-drafts: 'false'
63 exclude-trivial-rebase: 'false'
64 exclude-no-code-change: 'false'
65 - draft-published-event
66 - comment-added-contains-event:
67 comment-contains-value: 'recheck'
68 - comment-added-contains-event:
69 comment-contains-value: 'reverify'
71 - project-compare-type: 'ANT'
72 project-pattern: '{project}'
74 - branch-compare-type: 'ANT'
75 branch-pattern: '**/{branch}'
78 pattern: 'docs/**|.gitignore'
79 readable-message: true
86 - 'opnfv-build-defaults'
87 - 'escalator-defaults':
88 gs-pathname: '{gs-pathname}'
92 description: "Built on $NODE_NAME"
97 - name: 'escalator-verify-basic-{stream}'
98 current-parameters: false
99 predefined-parameters: |
100 GERRIT_BRANCH=$GERRIT_BRANCH
101 GERRIT_REFSPEC=$GERRIT_REFSPEC
102 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
103 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
104 node-parameters: false
105 kill-phase-on: FAILURE
109 condition: SUCCESSFUL
111 - name: 'escalator-verify-build-{stream}'
112 current-parameters: false
113 predefined-parameters: |
114 GERRIT_BRANCH=$GERRIT_BRANCH
115 GERRIT_REFSPEC=$GERRIT_REFSPEC
116 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
117 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
118 node-parameters: false
119 kill-phase-on: FAILURE
123 name: 'escalator-verify-{phase}-{stream}'
125 disabled: '{obj:disabled}'
143 - '{slave-label}-defaults'
144 - 'escalator-defaults':
145 gs-pathname: '{gs-pathname}'
148 - description-setter:
149 description: "Built on $NODE_NAME"
150 - '{project}-verify-{phase}-macro'
153 name: 'escalator-merge-{stream}'
155 project-type: multijob
179 server-name: 'gerrit.opnfv.org'
181 - change-merged-event
182 - comment-added-contains-event:
183 comment-contains-value: 'remerge'
185 - project-compare-type: 'ANT'
186 project-pattern: '{project}'
188 - branch-compare-type: 'ANT'
189 branch-pattern: '**/{branch}'
190 forbidden-file-paths:
192 pattern: 'docs/**|.gitignore'
193 readable-message: true
200 - 'opnfv-build-defaults'
201 - 'escalator-defaults':
202 gs-pathname: '{gs-pathname}'
205 - description-setter:
206 description: "Built on $NODE_NAME"
209 condition: SUCCESSFUL
211 - name: 'escalator-merge-basic-{stream}'
212 current-parameters: false
213 predefined-parameters: |
214 GERRIT_BRANCH=$GERRIT_BRANCH
215 GERRIT_REFSPEC=$GERRIT_REFSPEC
216 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
217 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
218 node-parameters: false
219 kill-phase-on: FAILURE
223 condition: SUCCESSFUL
225 - name: 'escalator-merge-build-{stream}'
226 current-parameters: false
227 predefined-parameters: |
228 GERRIT_BRANCH=$GERRIT_BRANCH
229 GERRIT_REFSPEC=$GERRIT_REFSPEC
230 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
231 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
232 node-parameters: false
233 kill-phase-on: FAILURE
237 name: 'escalator-merge-{phase}-{stream}'
239 disabled: '{obj:disabled}'
257 - '{slave-label}-defaults'
258 - 'escalator-defaults':
259 gs-pathname: '{gs-pathname}'
262 - description-setter:
263 description: "Built on $NODE_NAME"
264 - '{project}-merge-{phase}-macro'
265 #####################################
267 #####################################
269 name: 'escalator-verify-basic-macro'
272 !include-raw: ./escalator-basic.sh
275 name: 'escalator-verify-build-macro'
278 !include-raw: ./escalator-build.sh
281 name: 'escalator-merge-basic-macro'
284 !include-raw: ./escalator-basic.sh
287 name: 'escalator-merge-build-macro'
291 - ./escalator-build.sh
292 - ./escalator-upload-artifact.sh
293 #####################################
295 #####################################
297 name: 'escalator-defaults'
300 name: BUILD_DIRECTORY
301 default: $WORKSPACE/build_output
302 description: "Directory where the build artifact will be located upon the completion of the build."
304 name: CACHE_DIRECTORY
305 default: $HOME/opnfv/cache/$INSTALLER_TYPE
306 description: "Directory where the cache to be used during the build is located."
309 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
310 description: "URL to Google Storage."