7 project-pattern: '{project}'
15 branch: 'stable/{stream}'
16 gs-pathname: '/{stream}'
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
41 # disabling the following tests due to limitation of PoD owners
42 # these would beenabled again once the PoDs are ready
47 - 'doctor-verify-{stream}'
48 - 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
49 - 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
50 - 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
53 name: 'doctor-verify-{stream}'
54 disabled: '{obj:disabled}'
55 project-type: 'multijob'
60 - 'doctor-slave-parameter'
67 files: 'doctor_tests/**'
72 # we do nothing here as the main stuff will be done
74 echo "Triggering phase jobs!"
76 name: 'doctor-verify-sample'
77 execution-type: PARALLEL
79 - name: 'doctor-verify-fault_management-apex-sample-x86_64-{stream}'
80 predefined-parameters: |
82 GERRIT_BRANCH=$GERRIT_BRANCH
83 GERRIT_REFSPEC=$GERRIT_REFSPEC
84 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
85 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
86 kill-phase-on: FAILURE
88 - name: 'doctor-verify-fault_management-daisy-sample-x86_64-{stream}'
89 predefined-parameters: |
91 GERRIT_BRANCH=$GERRIT_BRANCH
92 GERRIT_REFSPEC=$GERRIT_REFSPEC
93 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
94 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
95 kill-phase-on: FAILURE
98 name: 'doctor-verify-congress'
99 execution-type: PARALLEL
101 - name: 'doctor-verify-fault_management-apex-congress-x86_64-{stream}'
102 predefined-parameters: |
104 GERRIT_BRANCH=$GERRIT_BRANCH
105 GERRIT_REFSPEC=$GERRIT_REFSPEC
106 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
107 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
108 kill-phase-on: FAILURE
111 name: 'doctor-verify-sample-all'
112 execution-type: PARALLEL
114 - name: 'doctor-verify-all-apex-sample-x86_64-{stream}'
115 predefined-parameters: |
117 GERRIT_BRANCH=$GERRIT_BRANCH
118 GERRIT_REFSPEC=$GERRIT_REFSPEC
119 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
120 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
121 kill-phase-on: FAILURE
124 name: 'doctor-verify-congress-all'
125 execution-type: PARALLEL
126 # This would be for running all test cases with congress inspector
129 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
130 disabled: '{obj:disabled}'
131 node: 'doctor-{installer}-{arch}'
140 - '{installer}-defaults'
141 - 'doctor-slave-parameter'
142 - 'doctor-parameter':
143 inspector: '{inspector}'
144 test_case: 'fault_management'
148 - 'doctor-verify-installer-inspector-builders-macro'
150 - 'doctor-verify-publishers-macro'
153 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
154 disabled: '{obj:disabled}'
164 - '{installer}-defaults'
165 - 'doctor-slave-parameter'
166 - 'doctor-parameter':
167 inspector: '{inspector}'
168 test_case: 'maintenance'
172 - 'doctor-verify-installer-inspector-builders-macro'
174 - 'doctor-verify-publishers-macro'
177 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
178 disabled: '{obj:disabled}'
188 - '{installer}-defaults'
189 - 'doctor-slave-parameter'
190 - 'doctor-parameter':
191 inspector: '{inspector}'
196 - 'doctor-verify-installer-inspector-builders-macro'
198 - 'doctor-verify-publishers-macro'
201 # -------------------------------
203 # -------------------------------
205 name: 'doctor-parameter'
209 default: '{inspector}'
210 description: 'inspector component'
213 default: '{test_case}'
214 description: 'test case: all, fault_management or maintenance'
217 # -------------------------------
219 # -------------------------------
222 name: 'doctor-verify-installer-inspector-builders-macro'
224 # yamllint disable rule:indentation
227 - ./doctor-env-presetup.sh
228 - ../../utils/fetch_os_creds.sh
230 # prepare the env for test
231 source $HOME/opnfv-openrc.sh
232 if [ -f $HOME/os_cacert ]; then
233 export OS_CACERT=$HOME/os_cacert
235 source $HOME/opnfv-installer.sh
237 # run tox to trigger the test
238 # As Jenkins user, it has no permission to send ICMP package
242 # -------------------------------
244 # -------------------------------
246 name: 'doctor-verify-publishers-macro'
249 artifacts: 'doctor_tests/*.log'
250 - email-jenkins-admins-on-failure
253 #####################################
255 #####################################
257 name: 'doctor-verify'
260 server-name: 'gerrit.opnfv.org'
262 - patchset-created-event:
263 exclude-drafts: 'false'
264 exclude-trivial-rebase: 'false'
265 exclude-no-code-change: 'false'
266 - draft-published-event
267 - comment-added-contains-event:
268 comment-contains-value: 'recheck'
269 - comment-added-contains-event:
270 comment-contains-value: 'reverify'
272 - project-compare-type: 'ANT'
273 project-pattern: '{project}'
275 - branch-compare-type: 'ANT'
276 branch-pattern: '**/{branch}'