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}'
76 disable-strict-forbidden-file-verification: 'true'
79 pattern: 'docs/**|.gitignore'
80 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: |
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: |
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}'
142 - '{slave-label}-defaults'
143 - 'escalator-defaults':
144 gs-pathname: '{gs-pathname}'
147 - description-setter:
148 description: "Built on $NODE_NAME"
149 - '{project}-verify-{phase}-macro'
152 name: 'escalator-merge-{stream}'
154 project-type: multijob
178 server-name: 'gerrit.opnfv.org'
180 - change-merged-event
181 - comment-added-contains-event:
182 comment-contains-value: 'remerge'
184 - project-compare-type: 'ANT'
185 project-pattern: '{project}'
187 - branch-compare-type: 'ANT'
188 branch-pattern: '**/{branch}'
189 disable-strict-forbidden-file-verification: 'true'
190 forbidden-file-paths:
192 pattern: 'docs/**|.gitignore'
193 readable-message: true
199 - 'opnfv-build-defaults'
200 - 'escalator-defaults':
201 gs-pathname: '{gs-pathname}'
204 - description-setter:
205 description: "Built on $NODE_NAME"
208 condition: SUCCESSFUL
210 - name: 'escalator-merge-basic-{stream}'
211 current-parameters: false
212 predefined-parameters: |
214 GERRIT_REFSPEC=$GERRIT_REFSPEC
215 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
216 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
217 node-parameters: false
218 kill-phase-on: FAILURE
222 condition: SUCCESSFUL
224 - name: 'escalator-merge-build-{stream}'
225 current-parameters: false
226 predefined-parameters: |
228 GERRIT_REFSPEC=$GERRIT_REFSPEC
229 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
230 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
231 node-parameters: false
232 kill-phase-on: FAILURE
236 name: 'escalator-merge-{phase}-{stream}'
238 disabled: '{obj:disabled}'
255 - '{slave-label}-defaults'
256 - 'escalator-defaults':
257 gs-pathname: '{gs-pathname}'
260 - description-setter:
261 description: "Built on $NODE_NAME"
262 - '{project}-merge-{phase}-macro'
263 #####################################
265 #####################################
267 name: 'escalator-verify-basic-macro'
270 !include-raw: ./escalator-basic.sh
273 name: 'escalator-verify-build-macro'
276 !include-raw: ./escalator-build.sh
279 name: 'escalator-merge-basic-macro'
282 !include-raw: ./escalator-basic.sh
285 name: 'escalator-merge-build-macro'
289 - ./escalator-build.sh
290 - ./escalator-upload-artifact.sh
291 #####################################
293 #####################################
295 name: 'escalator-defaults'
298 name: BUILD_DIRECTORY
299 default: $WORKSPACE/build_output
300 description: "Directory where the build artifact will be located upon the completion of the build."
302 name: CACHE_DIRECTORY
303 default: $HOME/opnfv/cache/$INSTALLER_TYPE
304 description: "Directory where the cache to be used during the build is located."
307 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
308 description: "URL to Google Storage."