3 name: 'opnfv-xci-merge'
6 # -------------------------------
8 # -------------------------------
12 # -------------------------------
14 # -------------------------------
22 # -------------------------------
23 # postmerge promotion phases
24 # -------------------------------
28 # -------------------------------
30 # -------------------------------
32 - 'xci-merge-virtual-{stream}'
33 - 'xci-merge-promote-virtual-{stream}'
34 - 'xci-merge-{distro}-virtual-{stream}'
35 - 'xci-merge-{distro}-{phase}-virtual-{stream}'
36 # -------------------------------
38 # -------------------------------
40 name: 'xci-merge-virtual-{stream}'
42 project-type: multijob
44 disabled: '{obj:disabled}'
55 - fix-workspace-permissions
62 server-name: 'gerrit.opnfv.org'
65 - comment-added-contains-event:
66 comment-contains-value: 'remerge'
68 - project-compare-type: 'REG_EXP'
69 project-pattern: 'sfc|sdnvpn'
71 - branch-compare-type: 'ANT'
72 branch-pattern: '**/{branch}'
73 disable-strict-forbidden-file-verification: 'true'
76 pattern: 'scenarios/**'
77 readable-message: true
78 custom-url: '* $JOB_NAME $BUILD_URL'
82 project: $GERRIT_PROJECT
86 default: 'xci-virtual'
91 name: CLEAN_DIB_IMAGES
95 default: https://gerrit.opnfv.org/gerrit/$PROJECT
96 description: 'Git URL to use on this Jenkins Slave'
99 - 'xci-merge-set-scenario-macro'
101 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
102 - description-setter:
103 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
105 name: deploy and test
106 condition: SUCCESSFUL
108 - name: 'xci-merge-opensuse-virtual-{stream}'
109 current-parameters: false
110 predefined-parameters: |
112 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
113 GERRIT_PROJECT=$GERRIT_PROJECT
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
121 - name: 'xci-merge-ubuntu-virtual-{stream}'
122 current-parameters: false
123 predefined-parameters: |
125 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
126 GERRIT_PROJECT=$GERRIT_PROJECT
127 GERRIT_BRANCH=$GERRIT_BRANCH
128 GERRIT_REFSPEC=$GERRIT_REFSPEC
129 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
130 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
131 node-parameters: false
132 kill-phase-on: FAILURE
134 - name: 'xci-merge-centos-virtual-{stream}'
135 current-parameters: false
136 predefined-parameters: |
138 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
139 GERRIT_PROJECT=$GERRIT_PROJECT
140 GERRIT_BRANCH=$GERRIT_BRANCH
141 GERRIT_REFSPEC=$GERRIT_REFSPEC
142 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
143 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
144 node-parameters: false
145 kill-phase-on: FAILURE
148 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
151 condition: SUCCESSFUL
153 - name: 'xci-merge-promote-virtual-{stream}'
154 current-parameters: true
155 predefined-parameters: |
156 GERRIT_PROJECT=$GERRIT_PROJECT
157 GERRIT_BRANCH=$GERRIT_BRANCH
158 GERRIT_REFSPEC=$GERRIT_REFSPEC
159 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
160 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
161 node-parameters: true
166 name: 'xci-merge-{distro}-virtual-{stream}'
168 project-type: multijob
170 disabled: '{obj:disabled}'
177 use-build-blocker: true
179 - 'xci-verify-{distro}-.*'
180 - 'xci-merge-{distro}-.*'
181 - 'openstack-bifrost-verify-{distro}-.*'
182 - 'xci-osa-verify-{distro}-.*'
183 - 'xci-osa-periodic-{distro}-.*'
196 - fix-workspace-permissions
203 project: $GERRIT_PROJECT
207 default: 'xci-virtual'
212 name: CLEAN_DIB_IMAGES
216 default: https://gerrit.opnfv.org/gerrit/$PROJECT
217 description: 'Git URL to use on this Jenkins Slave'
220 - 'xci-merge-set-scenario-macro'
222 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
223 - description-setter:
224 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
227 condition: SUCCESSFUL
229 - name: 'xci-merge-{distro}-deploy-virtual-{stream}'
230 current-parameters: true
231 predefined-parameters: |
233 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
234 GERRIT_PROJECT=$GERRIT_PROJECT
235 GERRIT_BRANCH=$GERRIT_BRANCH
236 GERRIT_REFSPEC=$GERRIT_REFSPEC
237 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
238 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
239 node-parameters: true
240 kill-phase-on: FAILURE
244 condition: SUCCESSFUL
246 - name: 'xci-merge-{distro}-healthcheck-virtual-{stream}'
247 current-parameters: true
248 predefined-parameters: |
250 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
251 GERRIT_PROJECT=$GERRIT_PROJECT
252 GERRIT_BRANCH=$GERRIT_BRANCH
253 GERRIT_REFSPEC=$GERRIT_REFSPEC
254 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
255 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
257 FUNCTEST_TIER=healthcheck
258 node-parameters: true
264 script-only-if-succeeded: false
265 script-only-if-failed: false
268 !include-raw: ./xci-cleanup.sh
271 name: 'xci-merge-{distro}-{phase}-virtual-{stream}'
280 use-build-blocker: true
282 - '.*-bifrost-verify-.*'
283 - '.*-bifrost-periodic-.*'
291 default: $GERRIT_PROJECT
299 name: FUNCTEST_SUITE_NAME
300 default: 'healthcheck'
305 name: CLEAN_DIB_IMAGES
308 name: OPNFV_RELENG_DEV_PATH
312 default: https://gerrit.opnfv.org/gerrit/$PROJECT
313 description: 'Git URL to use on this Jenkins Slave'
317 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
321 - fix-workspace-permissions
327 - description-setter:
328 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
329 - 'xci-merge-{phase}-macro'
332 name: 'xci-merge-promote-virtual-{stream}'
344 default: $GERRIT_PROJECT
349 name: OPNFV_RELENG_DEV_PATH
353 default: https://gerrit.opnfv.org/gerrit/$PROJECT
354 description: 'Git URL to use on this Jenkins Slave'
358 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
362 - fix-workspace-permissions
365 - description-setter:
366 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
367 - 'xci-merge-promote-macro'
369 # -------------------------------
371 # -------------------------------
373 name: 'xci-merge-set-scenario-macro'
376 !include-raw: ./xci-set-scenario.sh
379 name: 'xci-merge-deploy-macro'
386 name: 'xci-merge-healthcheck-macro'
393 name: 'xci-merge-promote-macro'