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 - 'bifrost-verify-{distro}-.*'
70 - 'bifrost-periodic-{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: '{project}'
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/**'
113 readable-message: true
114 custom-url: '* $JOB_NAME $BUILD_URL'
116 successful: '{obj:successful}'
117 failed: '{obj:failed}'
118 unstable: '{obj:unstable}'
119 notbuilt: '{obj:notbuilt}'
127 default: 'xci-virtual'
129 name: CLEAN_DIB_IMAGES
133 default: https://gerrit.opnfv.org/gerrit/$PROJECT
134 description: 'Git URL to use on this Jenkins Slave'
137 - description-setter:
138 description: "Built on $NODE_NAME"
141 condition: SUCCESSFUL
143 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
144 current-parameters: true
145 predefined-parameters: |
147 DEPLOY_SCENARIO=os-nosdn-nofeature
148 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
149 GERRIT_BRANCH=$GERRIT_BRANCH
150 GERRIT_REFSPEC=$GERRIT_REFSPEC
151 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
152 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
153 node-parameters: true
154 kill-phase-on: FAILURE
158 condition: SUCCESSFUL
160 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
161 current-parameters: true
162 predefined-parameters: |
164 DEPLOY_SCENARIO=os-nosdn-nofeature
165 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
167 FUNCTEST_TIER=healthcheck
168 GERRIT_BRANCH=$GERRIT_BRANCH
169 GERRIT_REFSPEC=$GERRIT_REFSPEC
170 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
171 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
172 node-parameters: true
177 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
186 use-build-blocker: true
188 - '.*-bifrost-verify-.*'
189 - '.*-bifrost-periodic-.*'
197 default: 'releng-xci'
202 name: DEPLOY_SCENARIO
203 default: 'os-nosdn-nofeature'
208 name: FUNCTEST_SUITE_NAME
209 default: 'healthcheck'
214 name: CLEAN_DIB_IMAGES
217 name: OPNFV_RELENG_DEV_PATH
224 default: https://gerrit.opnfv.org/gerrit/$PROJECT
225 description: 'Git URL to use on this Jenkins Slave'
231 - fix-workspace-permissions
237 - description-setter:
238 description: "Built on $NODE_NAME"
239 - 'xci-verify-{phase}-macro'
241 # -------------------------------
243 # -------------------------------
245 name: 'xci-verify-deploy-macro'
248 !include-raw: ./xci-start-new-vm.sh
251 !include-raw: ./xci-start-deployment.sh
254 name: 'xci-verify-healthcheck-macro'
257 !include-raw: ./xci-cleanup.sh