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 - 'bifrost-verify-{distro}-.*'
64 - 'bifrost-periodic-{distro}-.*'
65 - 'xci-osa-verify-{distro}-.*'
66 - 'xci-osa-periodic-{distro}-.*'
67 - 'xci-(os|k8s).*?-virtual-{distro}-.*'
74 - fix-workspace-permissions
78 credentials-id: '$SSH_CREDENTIAL_ID'
79 url: 'https://gerrit.opnfv.org/gerrit/releng-xci'
86 server-name: 'gerrit.opnfv.org'
89 - comment-added-contains-event:
90 comment-contains-value: 'remerge'
92 - project-compare-type: 'ANT'
93 project-pattern: '{obj:project}'
95 - branch-compare-type: 'ANT'
96 branch-pattern: '**/{branch}'
97 disable-strict-forbidden-file-verification: 'true'
100 pattern: 'scenarios/**'
101 readable-message: true
102 custom-url: '* $JOB_NAME $BUILD_URL'
106 project: '{obj:project}'
110 default: 'xci-virtual'
112 name: CLEAN_DIB_IMAGES
116 default: https://gerrit.opnfv.org/gerrit/$PROJECT
117 description: 'Git URL to use on this Jenkins Slave'
120 - description-setter:
121 description: "Built on $NODE_NAME"
124 condition: SUCCESSFUL
126 - name: 'xci-deploy-{type}-{distro}-merge-{stream}'
127 current-parameters: true
128 predefined-parameters: |
131 DEPLOY_SCENARIO={scenario}
132 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
133 GERRIT_BRANCH=$GERRIT_BRANCH
134 GERRIT_REFSPEC=$GERRIT_REFSPEC
135 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
136 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
137 node-parameters: true
138 kill-phase-on: FAILURE
142 condition: SUCCESSFUL
144 - name: 'xci-healthcheck-{type}-{distro}-merge-{stream}'
145 current-parameters: true
146 predefined-parameters: |
149 DEPLOY_SCENARIO={scenario}
150 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
152 FUNCTEST_TIER=healthcheck
153 GERRIT_BRANCH=$GERRIT_BRANCH
154 GERRIT_REFSPEC=$GERRIT_REFSPEC
155 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
156 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
157 node-parameters: true
162 name: 'xci-{phase}-{type}-{distro}-merge-{stream}'
171 use-build-blocker: true
173 - '.*-bifrost-verify-.*'
174 - '.*-bifrost-periodic-.*'
182 default: 'releng-xci'
187 name: DEPLOY_SCENARIO
188 default: 'os-nosdn-nofeature-noha'
193 name: FUNCTEST_SUITE_NAME
194 default: 'healthcheck'
199 name: CLEAN_DIB_IMAGES
202 name: OPNFV_RELENG_DEV_PATH
209 default: https://gerrit.opnfv.org/gerrit/$PROJECT
210 description: 'Git URL to use on this Jenkins Slave'
216 - fix-workspace-permissions
222 - description-setter:
223 description: "Built on $NODE_NAME"
224 - 'xci-merge-{phase}-macro'
226 # -------------------------------
228 # -------------------------------
230 name: 'xci-merge-deploy-macro'
233 !include-raw: ./xci-start-new-vm.sh
235 !include-raw: ./xci-start-deployment.sh
238 name: 'xci-merge-healthcheck-macro'
241 !include-raw: ./xci-run-functest.sh
243 !include-raw: ./xci-cleanup.sh
246 name: 'xci-merge-promote-macro'
249 !include-raw: ./xci-promote.sh