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
81 server-name: 'gerrit.opnfv.org'
84 - comment-added-contains-event:
85 comment-contains-value: 'remerge'
87 - project-compare-type: 'ANT'
88 project-pattern: '{obj:project}'
90 - branch-compare-type: 'ANT'
91 branch-pattern: '**/{branch}'
92 disable-strict-forbidden-file-verification: 'true'
95 pattern: 'scenarios/**'
96 readable-message: true
97 custom-url: '* $JOB_NAME $BUILD_URL'
101 project: '{obj:project}'
105 default: 'xci-virtual'
107 name: CLEAN_DIB_IMAGES
111 default: https://gerrit.opnfv.org/gerrit/$PROJECT
112 description: 'Git URL to use on this Jenkins Slave'
115 - description-setter:
116 description: "Built on $NODE_NAME"
119 condition: SUCCESSFUL
121 - name: 'xci-deploy-{type}-{distro}-merge-{stream}'
122 current-parameters: true
123 predefined-parameters: |
126 DEPLOY_SCENARIO={scenario}
127 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
128 GERRIT_BRANCH=$GERRIT_BRANCH
129 GERRIT_REFSPEC=$GERRIT_REFSPEC
130 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
131 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
132 node-parameters: true
133 kill-phase-on: FAILURE
137 condition: SUCCESSFUL
139 - name: 'xci-healthcheck-{type}-{distro}-merge-{stream}'
140 current-parameters: true
141 predefined-parameters: |
144 DEPLOY_SCENARIO={scenario}
145 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
147 FUNCTEST_TIER=healthcheck
148 GERRIT_BRANCH=$GERRIT_BRANCH
149 GERRIT_REFSPEC=$GERRIT_REFSPEC
150 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
151 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
152 node-parameters: true
157 name: 'xci-{phase}-{type}-{distro}-merge-{stream}'
166 use-build-blocker: true
168 - '.*-bifrost-verify-.*'
169 - '.*-bifrost-periodic-.*'
177 default: 'releng-xci'
182 name: DEPLOY_SCENARIO
183 default: 'os-nosdn-nofeature-noha'
188 name: FUNCTEST_SUITE_NAME
189 default: 'healthcheck'
194 name: CLEAN_DIB_IMAGES
197 name: OPNFV_RELENG_DEV_PATH
204 default: https://gerrit.opnfv.org/gerrit/$PROJECT
205 description: 'Git URL to use on this Jenkins Slave'
211 - fix-workspace-permissions
217 - description-setter:
218 description: "Built on $NODE_NAME"
219 - 'xci-merge-{phase}-macro'
221 # -------------------------------
223 # -------------------------------
225 name: 'xci-merge-deploy-macro'
228 !include-raw: ./xci-start-new-vm.sh
230 !include-raw: ./xci-start-deployment.sh
233 name: 'xci-merge-healthcheck-macro'
236 !include-raw: ./xci-run-functest.sh
238 !include-raw: ./xci-cleanup.sh
241 name: 'xci-merge-promote-macro'
244 !include-raw: ./xci-promote.sh