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
156 name: FUNCTEST_SUITE_NAME
157 default: 'healthcheck'
160 default: https://gerrit.opnfv.org/gerrit/$PROJECT
161 description: 'Git URL to use on this Jenkins Slave'
164 - 'xci-verify-set-scenario-macro'
166 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
167 - description-setter:
168 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
171 condition: SUCCESSFUL
173 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
174 current-parameters: true
175 predefined-parameters: |
177 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
178 GERRIT_PROJECT=$GERRIT_PROJECT
179 GERRIT_BRANCH=$GERRIT_BRANCH
180 GERRIT_REFSPEC=$GERRIT_REFSPEC
181 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
182 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
184 node-parameters: true
185 kill-phase-on: FAILURE
189 condition: SUCCESSFUL
191 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
192 current-parameters: true
193 predefined-parameters: |
195 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
196 GERRIT_PROJECT=$GERRIT_PROJECT
197 GERRIT_BRANCH=$GERRIT_BRANCH
198 GERRIT_REFSPEC=$GERRIT_REFSPEC
199 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
200 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
202 FUNCTEST_MODE=$FUNCTEST_MODE
203 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
204 node-parameters: true
219 - shell: !include-raw: ./xci-cleanup.sh
220 mark-unstable-if-failed: true
224 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
233 use-build-blocker: true
235 - '.*-bifrost-verify-.*'
236 - '.*-bifrost-periodic-.*'
244 default: $GERRIT_PROJECT
255 name: FUNCTEST_SUITE_NAME
256 default: 'healthcheck'
261 name: CLEAN_DIB_IMAGES
264 name: OPNFV_RELENG_DEV_PATH
268 default: https://gerrit.opnfv.org/gerrit/$PROJECT
269 description: 'Git URL to use on this Jenkins Slave'
273 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
277 - fix-workspace-permissions
283 - description-setter:
284 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
285 - 'xci-verify-{phase}-macro'
287 # -------------------------------
289 # -------------------------------
291 name: 'xci-verify-set-scenario-macro'
294 !include-raw: ./xci-set-scenario.sh
297 name: 'xci-verify-deploy-macro'
300 !include-raw: ./xci-start-new-vm.sh
303 !include-raw: ./xci-start-deployment.sh
306 name: 'xci-verify-healthcheck-macro'
309 !include-raw: ./xci-run-functest.sh