7 project-pattern: '{project}'
15 branch: 'stable/{stream}'
16 gs-pathname: '/{stream}'
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
25 scenario: 'os-nosdn-nofeature-noha'
27 scenario: 'os-nosdn-nofeature-noha'
42 - 'doctor-verify-{stream}'
43 - 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
44 - 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
45 - 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
48 name: 'doctor-verify-{stream}'
49 disabled: '{obj:disabled}'
50 project-type: 'multijob'
55 - 'doctor-slave-parameter'
62 files: 'doctor_tests/**'
67 # we do nothing here as the main stuff will be done
69 echo "Triggering phase jobs!"
71 name: 'doctor-verify-sample'
72 execution-type: PARALLEL
74 - name: 'doctor-verify-all-apex-sample-x86_64-{stream}'
75 predefined-parameters: |
77 GERRIT_BRANCH=$GERRIT_BRANCH
78 GERRIT_REFSPEC=$GERRIT_REFSPEC
79 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
80 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
81 kill-phase-on: FAILURE
83 - name: 'doctor-verify-fault_management-fuel-sample-x86_64-{stream}'
84 predefined-parameters: |
86 GERRIT_BRANCH=$GERRIT_BRANCH
87 GERRIT_REFSPEC=$GERRIT_REFSPEC
88 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
89 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
90 kill-phase-on: FAILURE
93 name: 'doctor-verify-congress'
94 execution-type: PARALLEL
96 - name: 'doctor-verify-fault_management-apex-congress-x86_64-{stream}'
97 predefined-parameters: |
99 GERRIT_BRANCH=$GERRIT_BRANCH
100 GERRIT_REFSPEC=$GERRIT_REFSPEC
101 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
102 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
103 kill-phase-on: FAILURE
107 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
108 disabled: '{obj:disabled}'
109 node: 'doctor-{installer}-{arch}'
118 - '{installer}-defaults'
119 - 'doctor-slave-parameter'
120 - 'doctor-parameter':
121 inspector: '{inspector}'
122 scenario: '{scenario}'
123 test_case: 'fault_management'
127 - 'doctor-verify-installer-inspector-builders-macro'
129 - 'doctor-verify-publishers-macro'
132 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
133 disabled: '{obj:disabled}'
143 - '{installer}-defaults'
144 - 'doctor-slave-parameter'
145 - 'doctor-parameter':
146 inspector: '{inspector}'
147 scenario: '{scenario}'
148 test_case: 'maintenance'
152 - 'doctor-verify-installer-inspector-builders-macro'
154 - 'doctor-verify-publishers-macro'
157 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
158 disabled: '{obj:disabled}'
159 node: 'doctor-{installer}-{arch}'
168 - '{installer}-defaults'
169 - 'doctor-slave-parameter'
170 - 'doctor-parameter':
171 inspector: '{inspector}'
172 scenario: '{scenario}'
177 - 'doctor-verify-installer-inspector-builders-macro'
179 - 'doctor-verify-publishers-macro'
182 # -------------------------------
184 # -------------------------------
186 name: 'doctor-parameter'
190 default: '{inspector}'
191 description: 'inspector component'
194 default: '{test_case}'
195 description: 'test case: all, fault_management or maintenance'
197 name: DEPLOY_SCENARIO
198 default: '{scenario}'
199 description: 'Scenario to deploy and test'
202 # -------------------------------
204 # -------------------------------
207 name: 'doctor-verify-installer-inspector-builders-macro'
209 # yamllint disable rule:indentation
212 - ./doctor-env-presetup.sh
213 - ../../utils/fetch_os_creds.sh
215 # prepare the env for test
216 source $HOME/opnfv-openrc.sh
217 if [ -f $HOME/os_cacert ]; then
218 export OS_CACERT=$HOME/os_cacert
220 source $HOME/opnfv-installer.sh
222 # run tox to trigger the test
223 # As Jenkins user, it has no permission to send ICMP package
227 # -------------------------------
229 # -------------------------------
231 name: 'doctor-verify-publishers-macro'
234 artifacts: 'doctor_tests/*.log'
235 - email-jenkins-admins-on-failure
238 #####################################
240 #####################################
242 name: 'doctor-verify'
245 server-name: 'gerrit.opnfv.org'
247 - patchset-created-event:
248 exclude-drafts: 'false'
249 exclude-trivial-rebase: 'false'
250 exclude-no-code-change: 'false'
251 - draft-published-event
252 - comment-added-contains-event:
253 comment-contains-value: 'recheck'
254 - comment-added-contains-event:
255 comment-contains-value: 'reverify'
257 - project-compare-type: 'ANT'
258 project-pattern: '{project}'
260 - branch-compare-type: 'ANT'
261 branch-pattern: '**/{branch}'