7 project-pattern: '{project}'
15 branch: 'stable/{stream}'
16 gs-pathname: '/{stream}'
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
43 - 'doctor-verify-{stream}'
44 - 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
45 - 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
46 - 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
49 name: 'doctor-verify-{stream}'
50 disabled: '{obj:disabled}'
51 project-type: 'multijob'
56 - 'doctor-slave-parameter'
63 files: 'doctor_tests/**'
68 # we do nothing here as the main stuff will be done
70 echo "Triggering phase jobs!"
72 name: 'doctor-verify-sample'
73 execution-type: PARALLEL
75 - name: 'doctor-verify-fault_management-daisy-sample-x86_64-{stream}'
76 predefined-parameters: |
78 GERRIT_BRANCH=$GERRIT_BRANCH
79 GERRIT_REFSPEC=$GERRIT_REFSPEC
80 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
81 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
82 kill-phase-on: FAILURE
84 - name: 'doctor-verify-all-apex-sample-x86_64-{stream}'
85 predefined-parameters: |
87 GERRIT_BRANCH=$GERRIT_BRANCH
88 GERRIT_REFSPEC=$GERRIT_REFSPEC
89 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
90 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
91 kill-phase-on: FAILURE
93 - name: 'doctor-verify-fault_management-fuel-sample-x86_64-{stream}'
94 predefined-parameters: |
96 GERRIT_BRANCH=$GERRIT_BRANCH
97 GERRIT_REFSPEC=$GERRIT_REFSPEC
98 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
99 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
100 kill-phase-on: FAILURE
103 name: 'doctor-verify-congress'
104 execution-type: PARALLEL
106 - name: 'doctor-verify-fault_management-apex-congress-x86_64-{stream}'
107 predefined-parameters: |
109 GERRIT_BRANCH=$GERRIT_BRANCH
110 GERRIT_REFSPEC=$GERRIT_REFSPEC
111 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
112 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
113 kill-phase-on: FAILURE
117 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
118 disabled: '{obj:disabled}'
119 node: 'doctor-{installer}-{arch}'
128 - '{installer}-defaults'
129 - 'doctor-slave-parameter'
130 - 'doctor-parameter':
131 inspector: '{inspector}'
132 test_case: 'fault_management'
136 - 'doctor-verify-installer-inspector-builders-macro'
138 - 'doctor-verify-publishers-macro'
141 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
142 disabled: '{obj:disabled}'
152 - '{installer}-defaults'
153 - 'doctor-slave-parameter'
154 - 'doctor-parameter':
155 inspector: '{inspector}'
156 test_case: 'maintenance'
160 - 'doctor-verify-installer-inspector-builders-macro'
162 - 'doctor-verify-publishers-macro'
165 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
166 disabled: '{obj:disabled}'
167 node: 'doctor-{installer}-{arch}'
176 - '{installer}-defaults'
177 - 'doctor-slave-parameter'
178 - 'doctor-parameter':
179 inspector: '{inspector}'
184 - 'doctor-verify-installer-inspector-builders-macro'
186 - 'doctor-verify-publishers-macro'
189 # -------------------------------
191 # -------------------------------
193 name: 'doctor-parameter'
197 default: '{inspector}'
198 description: 'inspector component'
201 default: '{test_case}'
202 description: 'test case: all, fault_management or maintenance'
205 # -------------------------------
207 # -------------------------------
210 name: 'doctor-verify-installer-inspector-builders-macro'
212 # yamllint disable rule:indentation
215 - ./doctor-env-presetup.sh
216 - ../../utils/fetch_os_creds.sh
218 # prepare the env for test
219 source $HOME/opnfv-openrc.sh
220 if [ -f $HOME/os_cacert ]; then
221 export OS_CACERT=$HOME/os_cacert
223 source $HOME/opnfv-installer.sh
225 # run tox to trigger the test
226 # As Jenkins user, it has no permission to send ICMP package
230 # -------------------------------
232 # -------------------------------
234 name: 'doctor-verify-publishers-macro'
237 artifacts: 'doctor_tests/*.log'
238 - email-jenkins-admins-on-failure
241 #####################################
243 #####################################
245 name: 'doctor-verify'
248 server-name: 'gerrit.opnfv.org'
250 - patchset-created-event:
251 exclude-drafts: 'false'
252 exclude-trivial-rebase: 'false'
253 exclude-no-code-change: 'false'
254 - draft-published-event
255 - comment-added-contains-event:
256 comment-contains-value: 'recheck'
257 - comment-added-contains-event:
258 comment-contains-value: 'reverify'
260 - project-compare-type: 'ANT'
261 project-pattern: '{project}'
263 - branch-compare-type: 'ANT'
264 branch-pattern: '**/{branch}'