3 name: 'opnfv-xci-merge'
6 # -------------------------------
8 # -------------------------------
12 # -------------------------------
14 # -------------------------------
22 # -------------------------------
24 # -------------------------------
28 # -------------------------------
30 # -------------------------------
33 # -------------------------------
34 # postmerge promotion phases
35 # -------------------------------
39 # -------------------------------
41 # -------------------------------
43 - 'xci-{scenario}-{type}-merge-{stream}'
44 - 'xci-{scenario}-{type}-promote-merge-{stream}'
45 - 'xci-merge-{distro}-{type}-{stream}'
46 - 'xci-merge-{distro}-{phase}-{type}-{stream}'
47 # -------------------------------
49 # -------------------------------
51 name: 'xci-{scenario}-{type}-merge-{stream}'
53 project-type: multijob
55 disabled: '{obj:disabled}'
66 - fix-workspace-permissions
73 server-name: 'gerrit.opnfv.org'
76 - comment-added-contains-event:
77 comment-contains-value: 'remerge'
79 - project-compare-type: 'ANT'
80 project-pattern: '{obj:project}'
82 - branch-compare-type: 'ANT'
83 branch-pattern: '**/{branch}'
84 disable-strict-forbidden-file-verification: 'true'
87 pattern: 'scenarios/**'
88 readable-message: true
89 custom-url: '* $JOB_NAME $BUILD_URL'
93 project: $GERRIT_PROJECT
97 default: 'xci-virtual'
102 name: CLEAN_DIB_IMAGES
106 default: https://gerrit.opnfv.org/gerrit/$PROJECT
107 description: 'Git URL to use on this Jenkins Slave'
110 - description-setter:
111 description: "Node: $NODE_NAME"
112 - 'xci-merge-set-scenario-macro'
114 name: deploy and test
115 condition: SUCCESSFUL
117 - name: 'xci-merge-opensuse-{type}-{stream}'
118 current-parameters: false
119 predefined-parameters: |
121 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
122 GERRIT_PROJECT=$GERRIT_PROJECT
123 GERRIT_BRANCH=$GERRIT_BRANCH
124 GERRIT_REFSPEC=$GERRIT_REFSPEC
125 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
126 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
127 node-parameters: false
128 kill-phase-on: FAILURE
130 - name: 'xci-merge-ubuntu-{type}-{stream}'
131 current-parameters: false
132 predefined-parameters: |
134 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
135 GERRIT_PROJECT=$GERRIT_PROJECT
136 GERRIT_BRANCH=$GERRIT_BRANCH
137 GERRIT_REFSPEC=$GERRIT_REFSPEC
138 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
139 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
140 node-parameters: false
141 kill-phase-on: FAILURE
143 - name: 'xci-merge-centos-{type}-{stream}'
144 current-parameters: false
145 predefined-parameters: |
147 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
148 GERRIT_PROJECT=$GERRIT_PROJECT
149 GERRIT_BRANCH=$GERRIT_BRANCH
150 GERRIT_REFSPEC=$GERRIT_REFSPEC
151 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
152 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
153 node-parameters: false
154 kill-phase-on: FAILURE
157 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
160 condition: SUCCESSFUL
162 - name: 'xci-{scenario}-{type}-promote-merge-{stream}'
163 current-parameters: true
164 predefined-parameters: |
165 GERRIT_PROJECT=$GERRIT_PROJECT
166 GERRIT_BRANCH=$GERRIT_BRANCH
167 GERRIT_REFSPEC=$GERRIT_REFSPEC
168 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
169 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
170 node-parameters: true
175 name: 'xci-merge-{distro}-{type}-{stream}'
177 project-type: multijob
179 disabled: '{obj:disabled}'
186 use-build-blocker: true
188 - 'xci-verify-{distro}-.*'
189 - 'xci-merge-{distro}-.*'
190 - 'openstack-bifrost-verify-{distro}-.*'
191 - 'xci-osa-verify-{distro}-.*'
192 - 'xci-osa-periodic-{distro}-.*'
205 - fix-workspace-permissions
212 project: $GERRIT_PROJECT
216 default: 'xci-virtual'
221 name: CLEAN_DIB_IMAGES
225 default: https://gerrit.opnfv.org/gerrit/$PROJECT
226 description: 'Git URL to use on this Jenkins Slave'
229 - 'xci-merge-set-scenario-macro'
231 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
232 - description-setter:
233 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
236 condition: SUCCESSFUL
238 - name: 'xci-merge-{distro}-deploy-{type}-{stream}'
239 current-parameters: true
240 predefined-parameters: |
242 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
243 GERRIT_PROJECT=$GERRIT_PROJECT
244 GERRIT_BRANCH=$GERRIT_BRANCH
245 GERRIT_REFSPEC=$GERRIT_REFSPEC
246 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
247 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
248 node-parameters: true
249 kill-phase-on: FAILURE
253 condition: SUCCESSFUL
255 - name: 'xci-merge-{distro}-healthcheck-{type}-{stream}'
256 current-parameters: true
257 predefined-parameters: |
259 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
260 GERRIT_PROJECT=$GERRIT_PROJECT
261 GERRIT_BRANCH=$GERRIT_BRANCH
262 GERRIT_REFSPEC=$GERRIT_REFSPEC
263 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
264 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
266 FUNCTEST_TIER=healthcheck
267 node-parameters: true
273 script-only-if-succeeded: false
274 script-only-if-failed: false
277 !include-raw: ./xci-cleanup.sh
280 name: 'xci-merge-{distro}-{phase}-{type}-{stream}'
289 use-build-blocker: true
291 - '.*-bifrost-verify-.*'
292 - '.*-bifrost-periodic-.*'
300 default: $GERRIT_PROJECT
308 name: FUNCTEST_SUITE_NAME
309 default: 'healthcheck'
314 name: CLEAN_DIB_IMAGES
317 name: OPNFV_RELENG_DEV_PATH
321 default: https://gerrit.opnfv.org/gerrit/$PROJECT
322 description: 'Git URL to use on this Jenkins Slave'
326 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
330 - fix-workspace-permissions
336 - description-setter:
337 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
338 - 'xci-merge-{phase}-macro'
341 name: 'xci-{scenario}-{type}-promote-merge-{stream}'
353 default: $GERRIT_PROJECT
358 name: OPNFV_RELENG_DEV_PATH
362 default: https://gerrit.opnfv.org/gerrit/$PROJECT
363 description: 'Git URL to use on this Jenkins Slave'
367 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
371 - fix-workspace-permissions
374 - description-setter:
375 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
376 - 'xci-merge-promote-macro'
378 # -------------------------------
380 # -------------------------------
382 name: 'xci-merge-set-scenario-macro'
385 !include-raw: ./xci-set-scenario.sh
388 name: 'xci-merge-deploy-macro'
395 name: 'xci-merge-healthcheck-macro'
402 name: 'xci-merge-promote-macro'