3 name: 'opnfv-xci-verify'
6 # -------------------------------
8 # -------------------------------
12 # -------------------------------
14 # -------------------------------
34 # -------------------------------
36 # -------------------------------
39 # -------------------------------
40 # patch verification phases
41 # -------------------------------
45 # -------------------------------
47 # -------------------------------
49 - 'xci-verify-{distro}-{type}-{stream}'
50 - 'xci-verify-{distro}-{phase}-{type}-{stream}'
51 # -------------------------------
53 # -------------------------------
55 name: 'xci-verify-{distro}-{type}-{stream}'
57 project-type: multijob
59 disabled: '{obj:disabled}'
66 use-build-blocker: true
68 - 'xci-verify-{distro}-.*'
69 - 'xci-merge-{distro}-.*'
72 - 'openstack-bifrost-verify-{distro}-.*'
73 - 'xci-osa-verify-{distro}-.*'
74 - 'xci-osa-periodic-{distro}-.*'
87 - fix-workspace-permissions
94 server-name: 'gerrit.opnfv.org'
96 - patchset-created-event:
97 exclude-drafts: 'false'
98 exclude-trivial-rebase: 'false'
99 exclude-no-code-change: 'true'
100 - draft-published-event
101 - comment-added-contains-event:
102 comment-contains-value: 'recheck'
103 - comment-added-contains-event:
104 comment-contains-value: 'reverify'
106 - project-compare-type: 'ANT'
107 project-pattern: 'releng-xci'
109 - branch-compare-type: 'ANT'
110 branch-pattern: '**/{branch}'
111 disable-strict-forbidden-file-verification: 'false'
112 forbidden-file-paths:
114 pattern: 'xci/scripts/vm/**'
118 pattern: 'upstream/**'
119 - project-compare-type: 'REG_EXP'
120 project-pattern: 'sfc|sdnvpn|releng-xci-scenarios'
122 - branch-compare-type: 'ANT'
123 branch-pattern: '**/{branch}'
124 disable-strict-forbidden-file-verification: 'true'
127 pattern: 'scenarios/**'
128 readable-message: true
129 custom-url: '* $JOB_NAME $BUILD_URL'
131 successful: '{obj:successful}'
132 failed: '{obj:failed}'
133 unstable: '{obj:unstable}'
134 notbuilt: '{obj:notbuilt}'
138 project: $GERRIT_PROJECT
142 default: 'xci-virtual'
147 name: CLEAN_DIB_IMAGES
153 name: FUNCTEST_VERSION
159 name: FUNCTEST_SUITE_NAME
160 default: 'healthcheck'
163 default: https://gerrit.opnfv.org/gerrit/$PROJECT
164 description: 'Git URL to use on this Jenkins Slave'
167 - 'xci-verify-clean-vm-macro'
168 - 'xci-verify-set-scenario-macro'
170 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
171 - description-setter:
172 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
175 condition: SUCCESSFUL
177 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
178 current-parameters: true
179 predefined-parameters: |
181 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
182 GERRIT_PROJECT=$GERRIT_PROJECT
183 GERRIT_BRANCH=$GERRIT_BRANCH
184 GERRIT_REFSPEC=$GERRIT_REFSPEC
185 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
186 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
188 FUNCTEST_VERSION=$FUNCTEST_VERSION
189 FUNCTEST_MODE=$FUNCTEST_MODE
190 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
191 node-parameters: true
192 kill-phase-on: FAILURE
196 condition: SUCCESSFUL
198 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
199 current-parameters: true
200 predefined-parameters: |
202 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
203 GERRIT_PROJECT=$GERRIT_PROJECT
204 GERRIT_BRANCH=$GERRIT_BRANCH
205 GERRIT_REFSPEC=$GERRIT_REFSPEC
206 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
207 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
209 FUNCTEST_VERSION=$FUNCTEST_VERSION
210 FUNCTEST_MODE=$FUNCTEST_MODE
211 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
212 node-parameters: true
226 - shell: !include-raw: ./xci-cleanup.sh
227 mark-unstable-if-failed: true
231 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
240 use-build-blocker: true
242 - '.*-bifrost-verify-.*'
243 - '.*-bifrost-periodic-.*'
251 default: $GERRIT_PROJECT
259 name: FUNCTEST_VERSION
265 name: FUNCTEST_SUITE_NAME
266 default: 'healthcheck'
271 name: CLEAN_DIB_IMAGES
274 name: OPNFV_RELENG_DEV_PATH
278 default: https://gerrit.opnfv.org/gerrit/$PROJECT
279 description: 'Git URL to use on this Jenkins Slave'
283 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
287 - fix-workspace-permissions
293 - description-setter:
294 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
295 - 'xci-verify-{phase}-macro'
297 # -------------------------------
299 # -------------------------------
301 name: 'xci-verify-clean-vm-macro'
304 !include-raw: ./xci-cleanup.sh
307 name: 'xci-verify-set-scenario-macro'
310 !include-raw: ./xci-set-scenario.sh
313 name: 'xci-verify-deploy-macro'
316 !include-raw: ./xci-start-new-vm.sh
319 !include-raw: ./xci-start-deployment.sh
322 name: 'xci-verify-healthcheck-macro'
325 !include-raw: ./xci-run-functest.sh