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
85 - 'opnfv-build-defaults'
86 - 'escalator-defaults':
87 gs-pathname: '{gs-pathname}'
91 description: "Built on $NODE_NAME"
96 - name: 'escalator-verify-basic-{stream}'
97 current-parameters: false
98 predefined-parameters: |
100 GERRIT_REFSPEC=$GERRIT_REFSPEC
101 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
102 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
103 node-parameters: false
104 kill-phase-on: FAILURE
108 condition: SUCCESSFUL
110 - name: 'escalator-verify-build-{stream}'
111 current-parameters: false
112 predefined-parameters: |
114 GERRIT_REFSPEC=$GERRIT_REFSPEC
115 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
116 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
117 node-parameters: false
118 kill-phase-on: FAILURE
122 name: 'escalator-verify-{phase}-{stream}'
124 disabled: '{obj:disabled}'
141 - '{slave-label}-defaults'
142 - 'escalator-defaults':
143 gs-pathname: '{gs-pathname}'
146 - description-setter:
147 description: "Built on $NODE_NAME"
148 - '{project}-verify-{phase}-macro'
151 name: 'escalator-merge-{stream}'
153 project-type: multijob
177 server-name: 'gerrit.opnfv.org'
179 - change-merged-event
180 - comment-added-contains-event:
181 comment-contains-value: 'remerge'
183 - project-compare-type: 'ANT'
184 project-pattern: '{project}'
186 - branch-compare-type: 'ANT'
187 branch-pattern: '**/{branch}'
188 forbidden-file-paths:
190 pattern: 'docs/**|.gitignore'
191 readable-message: true
197 - 'opnfv-build-defaults'
198 - 'escalator-defaults':
199 gs-pathname: '{gs-pathname}'
202 - description-setter:
203 description: "Built on $NODE_NAME"
206 condition: SUCCESSFUL
208 - name: 'escalator-merge-basic-{stream}'
209 current-parameters: false
210 predefined-parameters: |
212 GERRIT_REFSPEC=$GERRIT_REFSPEC
213 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
214 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
215 node-parameters: false
216 kill-phase-on: FAILURE
220 condition: SUCCESSFUL
222 - name: 'escalator-merge-build-{stream}'
223 current-parameters: false
224 predefined-parameters: |
226 GERRIT_REFSPEC=$GERRIT_REFSPEC
227 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
228 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
229 node-parameters: false
230 kill-phase-on: FAILURE
234 name: 'escalator-merge-{phase}-{stream}'
236 disabled: '{obj:disabled}'
253 - '{slave-label}-defaults'
254 - 'escalator-defaults':
255 gs-pathname: '{gs-pathname}'
258 - description-setter:
259 description: "Built on $NODE_NAME"
260 - '{project}-merge-{phase}-macro'
261 #####################################
263 #####################################
265 name: 'escalator-verify-basic-macro'
268 !include-raw: ./escalator-basic.sh
271 name: 'escalator-verify-build-macro'
274 !include-raw: ./escalator-build.sh
277 name: 'escalator-merge-basic-macro'
280 !include-raw: ./escalator-basic.sh
283 name: 'escalator-merge-build-macro'
287 - ./escalator-build.sh
288 - ./escalator-upload-artifact.sh
289 #####################################
291 #####################################
293 name: 'escalator-defaults'
296 name: BUILD_DIRECTORY
297 default: $WORKSPACE/build_output
298 description: "Directory where the build artifact will be located upon the completion of the build."
300 name: CACHE_DIRECTORY
301 default: $HOME/opnfv/cache/$INSTALLER_TYPE
302 description: "Directory where the cache to be used during the build is located."
305 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
306 description: "URL to Google Storage."