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: 'prototypes/**'
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
210 script-only-if-succeeded: false
211 script-only-if-failed: false
214 !include-raw: ./xci-cleanup.sh
218 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
227 use-build-blocker: true
229 - '.*-bifrost-verify-.*'
230 - '.*-bifrost-periodic-.*'
238 default: $GERRIT_PROJECT
249 name: FUNCTEST_SUITE_NAME
250 default: 'healthcheck'
255 name: CLEAN_DIB_IMAGES
258 name: OPNFV_RELENG_DEV_PATH
262 default: https://gerrit.opnfv.org/gerrit/$PROJECT
263 description: 'Git URL to use on this Jenkins Slave'
267 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
271 - fix-workspace-permissions
277 - description-setter:
278 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
279 - 'xci-verify-{phase}-macro'
281 # -------------------------------
283 # -------------------------------
285 name: 'xci-verify-set-scenario-macro'
288 !include-raw: ./xci-set-scenario.sh
291 name: 'xci-verify-deploy-macro'
294 !include-raw: ./xci-start-new-vm.sh
297 !include-raw: ./xci-start-deployment.sh
300 name: 'xci-verify-healthcheck-macro'
303 !include-raw: ./xci-run-functest.sh