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-.*-{distro}-merge-.*'
70 - 'bifrost-verify-{distro}-.*'
71 - 'bifrost-periodic-{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: '{project}'
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/**'
114 readable-message: true
115 custom-url: '* $JOB_NAME $BUILD_URL'
117 successful: '{obj:successful}'
118 failed: '{obj:failed}'
119 unstable: '{obj:unstable}'
120 notbuilt: '{obj:notbuilt}'
128 default: 'xci-virtual'
130 name: CLEAN_DIB_IMAGES
134 default: https://gerrit.opnfv.org/gerrit/$PROJECT
135 description: 'Git URL to use on this Jenkins Slave'
138 - description-setter:
139 description: "Built on $NODE_NAME"
142 condition: SUCCESSFUL
144 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
145 current-parameters: true
146 predefined-parameters: |
148 DEPLOY_SCENARIO=os-nosdn-nofeature
149 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
150 GERRIT_BRANCH=$GERRIT_BRANCH
151 GERRIT_REFSPEC=$GERRIT_REFSPEC
152 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
153 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
154 node-parameters: true
155 kill-phase-on: FAILURE
159 condition: SUCCESSFUL
161 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
162 current-parameters: true
163 predefined-parameters: |
165 DEPLOY_SCENARIO=os-nosdn-nofeature
166 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
168 FUNCTEST_TIER=healthcheck
169 GERRIT_BRANCH=$GERRIT_BRANCH
170 GERRIT_REFSPEC=$GERRIT_REFSPEC
171 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
172 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
173 node-parameters: true
178 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
187 use-build-blocker: true
189 - '.*-bifrost-verify-.*'
190 - '.*-bifrost-periodic-.*'
198 default: 'releng-xci'
203 name: DEPLOY_SCENARIO
204 default: 'os-nosdn-nofeature'
209 name: FUNCTEST_SUITE_NAME
210 default: 'healthcheck'
215 name: CLEAN_DIB_IMAGES
218 name: OPNFV_RELENG_DEV_PATH
225 default: https://gerrit.opnfv.org/gerrit/$PROJECT
226 description: 'Git URL to use on this Jenkins Slave'
232 - fix-workspace-permissions
238 - description-setter:
239 description: "Built on $NODE_NAME"
240 - 'xci-verify-{phase}-macro'
242 # -------------------------------
244 # -------------------------------
246 name: 'xci-verify-deploy-macro'
249 !include-raw: ./xci-start-new-vm.sh
252 !include-raw: ./xci-start-deployment.sh
255 name: 'xci-verify-healthcheck-macro'
258 !include-raw: ./xci-cleanup.sh