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}-.*'
70 - 'openstack-bifrost-verify-{distro}-.*'
71 - 'xci-osa-verify-{distro}-.*'
72 - 'xci-osa-periodic-{distro}-.*'
85 - fix-workspace-permissions
92 server-name: 'gerrit.opnfv.org'
94 - patchset-created-event:
95 exclude-drafts: 'false'
96 exclude-trivial-rebase: 'false'
97 exclude-no-code-change: 'true'
98 - draft-published-event
99 - comment-added-contains-event:
100 comment-contains-value: 'recheck'
101 - comment-added-contains-event:
102 comment-contains-value: 'reverify'
104 - project-compare-type: 'ANT'
105 project-pattern: 'releng-xci'
107 - branch-compare-type: 'ANT'
108 branch-pattern: '**/{branch}'
109 disable-strict-forbidden-file-verification: 'false'
110 forbidden-file-paths:
112 pattern: 'xci/scripts/vm/**'
116 pattern: 'upstream/**'
117 - project-compare-type: 'REG_EXP'
118 project-pattern: 'sfc|sdnvpn|releng-xci-scenarios'
120 - branch-compare-type: 'ANT'
121 branch-pattern: '**/{branch}'
122 disable-strict-forbidden-file-verification: 'true'
125 pattern: 'scenarios/**'
126 readable-message: true
127 custom-url: '* $JOB_NAME $BUILD_URL'
129 successful: '{obj:successful}'
130 failed: '{obj:failed}'
131 unstable: '{obj:unstable}'
132 notbuilt: '{obj:notbuilt}'
136 project: $GERRIT_PROJECT
140 default: 'xci-virtual'
145 name: CLEAN_DIB_IMAGES
154 name: FUNCTEST_SUITE_NAME
155 default: 'healthcheck'
158 default: https://gerrit.opnfv.org/gerrit/$PROJECT
159 description: 'Git URL to use on this Jenkins Slave'
162 - 'xci-verify-set-scenario-macro'
164 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
165 - description-setter:
166 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
169 condition: SUCCESSFUL
171 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
172 current-parameters: true
173 predefined-parameters: |
175 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
176 GERRIT_PROJECT=$GERRIT_PROJECT
177 GERRIT_BRANCH=$GERRIT_BRANCH
178 GERRIT_REFSPEC=$GERRIT_REFSPEC
179 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
180 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
182 node-parameters: true
183 kill-phase-on: FAILURE
187 condition: SUCCESSFUL
189 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
190 current-parameters: true
191 predefined-parameters: |
193 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
194 GERRIT_PROJECT=$GERRIT_PROJECT
195 GERRIT_BRANCH=$GERRIT_BRANCH
196 GERRIT_REFSPEC=$GERRIT_REFSPEC
197 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
198 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
200 FUNCTEST_MODE=$FUNCTEST_MODE
201 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
202 node-parameters: true
217 - shell: !include-raw: ./xci-cleanup.sh
218 mark-unstable-if-failed: true
222 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
231 use-build-blocker: true
233 - '.*-bifrost-verify-.*'
234 - '.*-bifrost-periodic-.*'
242 default: $GERRIT_PROJECT
253 name: FUNCTEST_SUITE_NAME
254 default: 'healthcheck'
259 name: CLEAN_DIB_IMAGES
262 name: OPNFV_RELENG_DEV_PATH
266 default: https://gerrit.opnfv.org/gerrit/$PROJECT
267 description: 'Git URL to use on this Jenkins Slave'
271 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
275 - fix-workspace-permissions
281 - description-setter:
282 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
283 - 'xci-verify-{phase}-macro'
285 # -------------------------------
287 # -------------------------------
289 name: 'xci-verify-set-scenario-macro'
292 !include-raw: ./xci-set-scenario.sh
295 name: 'xci-verify-deploy-macro'
298 !include-raw: ./xci-start-new-vm.sh
301 !include-raw: ./xci-start-deployment.sh
304 name: 'xci-verify-healthcheck-macro'
307 !include-raw: ./xci-run-functest.sh