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 - 'openstack-bifrost-verify-{distro}-.*'
65 - 'xci-osa-verify-{distro}-.*'
66 - 'xci-osa-periodic-{distro}-.*'
67 - 'xci-(os|k8s).*?-virtual-{distro}-.*'
80 - fix-workspace-permissions
84 credentials-id: '$SSH_CREDENTIAL_ID'
85 url: 'https://gerrit.opnfv.org/gerrit/releng-xci'
92 server-name: 'gerrit.opnfv.org'
95 - comment-added-contains-event:
96 comment-contains-value: 'remerge'
98 - project-compare-type: 'ANT'
99 project-pattern: '{obj:project}'
101 - branch-compare-type: 'ANT'
102 branch-pattern: '**/{branch}'
103 disable-strict-forbidden-file-verification: 'true'
106 pattern: 'scenarios/**'
107 readable-message: true
108 custom-url: '* $JOB_NAME $BUILD_URL'
112 project: '{obj:project}'
116 default: 'xci-virtual'
118 name: DEPLOY_SCENARIO
119 default: '{scenario}'
121 name: CLEAN_DIB_IMAGES
125 default: https://gerrit.opnfv.org/gerrit/$PROJECT
126 description: 'Git URL to use on this Jenkins Slave'
129 - description-setter:
130 description: "Built on $NODE_NAME"
133 condition: SUCCESSFUL
135 - name: 'xci-deploy-{type}-{distro}-merge-{stream}'
136 current-parameters: true
137 predefined-parameters: |
140 DEPLOY_SCENARIO={scenario}
141 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
142 GERRIT_BRANCH=$GERRIT_BRANCH
143 GERRIT_REFSPEC=$GERRIT_REFSPEC
144 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
145 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
146 node-parameters: true
147 kill-phase-on: FAILURE
151 condition: SUCCESSFUL
153 - name: 'xci-healthcheck-{type}-{distro}-merge-{stream}'
154 current-parameters: true
155 predefined-parameters: |
158 DEPLOY_SCENARIO={scenario}
159 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
161 FUNCTEST_TIER=healthcheck
162 GERRIT_BRANCH=$GERRIT_BRANCH
163 GERRIT_REFSPEC=$GERRIT_REFSPEC
164 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
165 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
166 node-parameters: true
171 name: 'xci-{phase}-{type}-{distro}-merge-{stream}'
180 use-build-blocker: true
182 - '.*-bifrost-verify-.*'
183 - '.*-bifrost-periodic-.*'
191 default: 'releng-xci'
196 name: DEPLOY_SCENARIO
197 default: 'os-nosdn-nofeature-noha'
202 name: FUNCTEST_SUITE_NAME
203 default: 'healthcheck'
208 name: CLEAN_DIB_IMAGES
211 name: OPNFV_RELENG_DEV_PATH
218 default: https://gerrit.opnfv.org/gerrit/$PROJECT
219 description: 'Git URL to use on this Jenkins Slave'
225 - fix-workspace-permissions
229 credentials-id: '$SSH_CREDENTIAL_ID'
230 url: 'https://gerrit.opnfv.org/gerrit/releng-xci'
236 - description-setter:
237 description: "Built on $NODE_NAME"
238 - 'xci-merge-{phase}-macro'
240 # -------------------------------
242 # -------------------------------
244 name: 'xci-merge-deploy-macro'
247 !include-raw: ./xci-start-new-vm.sh
249 !include-raw: ./xci-start-deployment.sh
252 name: 'xci-merge-healthcheck-macro'
255 !include-raw: ./xci-run-functest.sh
257 !include-raw: ./xci-cleanup.sh
260 name: 'xci-merge-promote-macro'
263 !include-raw: ./xci-promote.sh