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
58 server-name: 'gerrit.opnfv.org'
60 - patchset-created-event:
61 exclude-drafts: 'false'
62 exclude-trivial-rebase: 'false'
63 exclude-no-code-change: 'false'
64 - draft-published-event
65 - comment-added-contains-event:
66 comment-contains-value: 'recheck'
67 - comment-added-contains-event:
68 comment-contains-value: 'reverify'
70 - project-compare-type: 'ANT'
71 project-pattern: '{project}'
73 - branch-compare-type: 'ANT'
74 branch-pattern: '**/{branch}'
77 pattern: 'docs/**|.gitignore'
78 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: |
99 GERRIT_BRANCH=$GERRIT_BRANCH
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: |
113 GERRIT_BRANCH=$GERRIT_BRANCH
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}'
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
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
198 - 'opnfv-build-defaults'
199 - 'escalator-defaults':
200 gs-pathname: '{gs-pathname}'
203 - description-setter:
204 description: "Built on $NODE_NAME"
207 condition: SUCCESSFUL
209 - name: 'escalator-merge-basic-{stream}'
210 current-parameters: false
211 predefined-parameters: |
212 GERRIT_BRANCH=$GERRIT_BRANCH
213 GERRIT_REFSPEC=$GERRIT_REFSPEC
214 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
215 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
216 node-parameters: false
217 kill-phase-on: FAILURE
221 condition: SUCCESSFUL
223 - name: 'escalator-merge-build-{stream}'
224 current-parameters: false
225 predefined-parameters: |
226 GERRIT_BRANCH=$GERRIT_BRANCH
227 GERRIT_REFSPEC=$GERRIT_REFSPEC
228 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
229 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
230 node-parameters: false
231 kill-phase-on: FAILURE
235 name: 'escalator-merge-{phase}-{stream}'
237 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."