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}-.*'
71 - 'openstack-bifrost-verify-{distro}-.*'
72 - 'xci-osa-verify-{distro}-.*'
73 - 'xci-osa-periodic-{distro}-.*'
86 - fix-workspace-permissions
93 server-name: 'gerrit.opnfv.org'
95 - patchset-created-event:
96 exclude-drafts: 'false'
97 exclude-trivial-rebase: 'false'
98 exclude-no-code-change: 'true'
99 - draft-published-event
100 - comment-added-contains-event:
101 comment-contains-value: 'recheck'
102 - comment-added-contains-event:
103 comment-contains-value: 'reverify'
105 - project-compare-type: 'ANT'
106 project-pattern: 'releng-xci'
108 - branch-compare-type: 'ANT'
109 branch-pattern: '**/{branch}'
110 disable-strict-forbidden-file-verification: 'false'
111 forbidden-file-paths:
113 pattern: 'xci/scripts/vm/**'
117 pattern: 'upstream/**'
118 - project-compare-type: 'REG_EXP'
119 project-pattern: 'sfc|sdnvpn|releng-xci-scenarios'
121 - branch-compare-type: 'ANT'
122 branch-pattern: '**/{branch}'
123 disable-strict-forbidden-file-verification: 'true'
126 pattern: 'scenarios/**'
127 readable-message: true
128 custom-url: '* $JOB_NAME $BUILD_URL'
130 successful: '{obj:successful}'
131 failed: '{obj:failed}'
132 unstable: '{obj:unstable}'
133 notbuilt: '{obj:notbuilt}'
137 project: $GERRIT_PROJECT
141 default: 'xci-virtual'
146 name: CLEAN_DIB_IMAGES
155 name: FUNCTEST_SUITE_NAME
156 default: 'healthcheck'
159 default: https://gerrit.opnfv.org/gerrit/$PROJECT
160 description: 'Git URL to use on this Jenkins Slave'
163 - 'xci-verify-set-scenario-macro'
165 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
166 - description-setter:
167 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
170 condition: SUCCESSFUL
172 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
173 current-parameters: true
174 predefined-parameters: |
176 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
177 GERRIT_PROJECT=$GERRIT_PROJECT
178 GERRIT_BRANCH=$GERRIT_BRANCH
179 GERRIT_REFSPEC=$GERRIT_REFSPEC
180 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
181 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
183 node-parameters: true
184 kill-phase-on: FAILURE
188 condition: SUCCESSFUL
190 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
191 current-parameters: true
192 predefined-parameters: |
194 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
195 GERRIT_PROJECT=$GERRIT_PROJECT
196 GERRIT_BRANCH=$GERRIT_BRANCH
197 GERRIT_REFSPEC=$GERRIT_REFSPEC
198 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
199 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
201 FUNCTEST_MODE=$FUNCTEST_MODE
202 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
203 node-parameters: true
218 - shell: !include-raw: ./xci-cleanup.sh
219 mark-unstable-if-failed: true
223 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
232 use-build-blocker: true
234 - '.*-bifrost-verify-.*'
235 - '.*-bifrost-periodic-.*'
243 default: $GERRIT_PROJECT
254 name: FUNCTEST_SUITE_NAME
255 default: 'healthcheck'
260 name: CLEAN_DIB_IMAGES
263 name: OPNFV_RELENG_DEV_PATH
267 default: https://gerrit.opnfv.org/gerrit/$PROJECT
268 description: 'Git URL to use on this Jenkins Slave'
272 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
276 - fix-workspace-permissions
282 - description-setter:
283 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
284 - 'xci-verify-{phase}-macro'
286 # -------------------------------
288 # -------------------------------
290 name: 'xci-verify-set-scenario-macro'
293 !include-raw: ./xci-set-scenario.sh
296 name: 'xci-verify-deploy-macro'
299 !include-raw: ./xci-start-new-vm.sh
302 !include-raw: ./xci-start-deployment.sh
305 name: 'xci-verify-healthcheck-macro'
308 !include-raw: ./xci-run-functest.sh