3 name: 'opnfv-xci-merge'
5 # -------------------------------
7 # -------------------------------
11 # -------------------------------
13 # -------------------------------
21 # -------------------------------
23 # -------------------------------
26 # -------------------------------
27 # patch verification phases
28 # -------------------------------
33 # -------------------------------
35 # -------------------------------
39 # -------------------------------
41 # -------------------------------
43 - 'xci-{scenario}-{type}-{distro}-merge-{stream}'
44 - 'xci-{phase}-{type}-{distro}-merge-{stream}'
45 # -------------------------------
47 # -------------------------------
49 name: 'xci-{scenario}-{type}-{distro}-merge-{stream}'
51 project-type: multijob
53 disabled: '{obj:disabled}'
60 use-build-blocker: true
62 - 'xci-verify-{distro}-.*'
63 - 'xci-.*-{distro}-merge-.*'
64 - 'bifrost-verify-{distro}-.*'
65 - 'bifrost-periodic-{distro}-.*'
66 - 'xci-osa-verify-{distro}-.*'
67 - 'xci-osa-periodic-{distro}-.*'
68 - 'xci-(os|k8s).*?-virtual-{distro}-.*'
81 - fix-workspace-permissions
85 credentials-id: '$SSH_CREDENTIAL_ID'
86 url: 'https://gerrit.opnfv.org/gerrit/releng-xci'
93 server-name: 'gerrit.opnfv.org'
96 - comment-added-contains-event:
97 comment-contains-value: 'remerge'
99 - project-compare-type: 'ANT'
100 project-pattern: '{obj:project}'
102 - branch-compare-type: 'ANT'
103 branch-pattern: '**/{branch}'
104 disable-strict-forbidden-file-verification: 'true'
107 pattern: 'scenarios/**'
108 readable-message: true
109 custom-url: '* $JOB_NAME $BUILD_URL'
113 project: '{obj:project}'
117 default: 'xci-virtual'
119 name: DEPLOY_SCENARIO
120 default: '{scenario}'
122 name: CLEAN_DIB_IMAGES
126 default: https://gerrit.opnfv.org/gerrit/$PROJECT
127 description: 'Git URL to use on this Jenkins Slave'
130 - description-setter:
131 description: "Built on $NODE_NAME"
134 condition: SUCCESSFUL
136 - name: 'xci-deploy-{type}-{distro}-merge-{stream}'
137 current-parameters: true
138 predefined-parameters: |
141 DEPLOY_SCENARIO={scenario}
142 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
143 GERRIT_BRANCH=$GERRIT_BRANCH
144 GERRIT_REFSPEC=$GERRIT_REFSPEC
145 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
146 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
147 node-parameters: true
148 kill-phase-on: FAILURE
152 condition: SUCCESSFUL
154 - name: 'xci-healthcheck-{type}-{distro}-merge-{stream}'
155 current-parameters: true
156 predefined-parameters: |
159 DEPLOY_SCENARIO={scenario}
160 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
162 FUNCTEST_TIER=healthcheck
163 GERRIT_BRANCH=$GERRIT_BRANCH
164 GERRIT_REFSPEC=$GERRIT_REFSPEC
165 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
166 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
167 node-parameters: true
172 name: 'xci-{phase}-{type}-{distro}-merge-{stream}'
181 use-build-blocker: true
183 - '.*-bifrost-verify-.*'
184 - '.*-bifrost-periodic-.*'
192 default: 'releng-xci'
197 name: DEPLOY_SCENARIO
198 default: 'os-nosdn-nofeature-noha'
203 name: FUNCTEST_SUITE_NAME
204 default: 'healthcheck'
209 name: CLEAN_DIB_IMAGES
212 name: OPNFV_RELENG_DEV_PATH
219 default: https://gerrit.opnfv.org/gerrit/$PROJECT
220 description: 'Git URL to use on this Jenkins Slave'
226 - fix-workspace-permissions
230 credentials-id: '$SSH_CREDENTIAL_ID'
231 url: 'https://gerrit.opnfv.org/gerrit/releng-xci'
237 - description-setter:
238 description: "Built on $NODE_NAME"
239 - 'xci-merge-{phase}-macro'
241 # -------------------------------
243 # -------------------------------
245 name: 'xci-merge-deploy-macro'
248 !include-raw: ./xci-start-new-vm.sh
250 !include-raw: ./xci-start-deployment.sh
253 name: 'xci-merge-healthcheck-macro'
256 !include-raw: ./xci-run-functest.sh
258 !include-raw: ./xci-cleanup.sh
261 name: 'xci-merge-promote-macro'
264 !include-raw: ./xci-promote.sh