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-set-scenario-macro'
169 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
170 - description-setter:
171 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
174 condition: SUCCESSFUL
176 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
177 current-parameters: true
178 predefined-parameters: |
180 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
181 GERRIT_PROJECT=$GERRIT_PROJECT
182 GERRIT_BRANCH=$GERRIT_BRANCH
183 GERRIT_REFSPEC=$GERRIT_REFSPEC
184 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
185 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
187 FUNCTEST_VERSION=$FUNCTEST_VERSION
188 FUNCTEST_MODE=$FUNCTEST_MODE
189 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
190 node-parameters: true
191 kill-phase-on: FAILURE
195 condition: SUCCESSFUL
197 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
198 current-parameters: true
199 predefined-parameters: |
201 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
202 GERRIT_PROJECT=$GERRIT_PROJECT
203 GERRIT_BRANCH=$GERRIT_BRANCH
204 GERRIT_REFSPEC=$GERRIT_REFSPEC
205 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
206 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
208 FUNCTEST_VERSION=$FUNCTEST_VERSION
209 FUNCTEST_MODE=$FUNCTEST_MODE
210 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
211 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-set-scenario-macro'
304 !include-raw: ./xci-set-scenario.sh
307 name: 'xci-verify-deploy-macro'
310 !include-raw: ./xci-start-new-vm.sh
313 !include-raw: ./xci-start-deployment.sh
316 name: 'xci-verify-healthcheck-macro'
319 !include-raw: ./xci-run-functest.sh