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-daisy-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-sample-all'
89 execution-type: PARALLEL
91 - name: 'doctor-verify-all-apex-sample-x86_64-{stream}'
92 predefined-parameters: |
94 GERRIT_BRANCH=$GERRIT_BRANCH
95 GERRIT_REFSPEC=$GERRIT_REFSPEC
96 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
97 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
98 kill-phase-on: FAILURE
101 name: 'doctor-verify-congress'
102 execution-type: PARALLEL
104 - name: 'doctor-verify-fault_management-apex-congress-x86_64-{stream}'
105 predefined-parameters: |
107 GERRIT_BRANCH=$GERRIT_BRANCH
108 GERRIT_REFSPEC=$GERRIT_REFSPEC
109 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
110 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
111 kill-phase-on: FAILURE
115 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
116 disabled: '{obj:disabled}'
117 node: 'doctor-{installer}-{arch}'
126 - '{installer}-defaults'
127 - 'doctor-slave-parameter'
128 - 'doctor-parameter':
129 inspector: '{inspector}'
130 test_case: 'fault_management'
134 - 'doctor-verify-installer-inspector-builders-macro'
136 - 'doctor-verify-publishers-macro'
139 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
140 disabled: '{obj:disabled}'
150 - '{installer}-defaults'
151 - 'doctor-slave-parameter'
152 - 'doctor-parameter':
153 inspector: '{inspector}'
154 test_case: 'maintenance'
158 - 'doctor-verify-installer-inspector-builders-macro'
160 - 'doctor-verify-publishers-macro'
163 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
164 disabled: '{obj:disabled}'
165 node: 'doctor-{installer}-{arch}'
174 - '{installer}-defaults'
175 - 'doctor-slave-parameter'
176 - 'doctor-parameter':
177 inspector: '{inspector}'
182 - 'doctor-verify-installer-inspector-builders-macro'
184 - 'doctor-verify-publishers-macro'
187 # -------------------------------
189 # -------------------------------
191 name: 'doctor-parameter'
195 default: '{inspector}'
196 description: 'inspector component'
199 default: '{test_case}'
200 description: 'test case: all, fault_management or maintenance'
203 # -------------------------------
205 # -------------------------------
208 name: 'doctor-verify-installer-inspector-builders-macro'
210 # yamllint disable rule:indentation
213 - ./doctor-env-presetup.sh
214 - ../../utils/fetch_os_creds.sh
216 # prepare the env for test
217 source $HOME/opnfv-openrc.sh
218 if [ -f $HOME/os_cacert ]; then
219 export OS_CACERT=$HOME/os_cacert
221 source $HOME/opnfv-installer.sh
223 # run tox to trigger the test
224 # As Jenkins user, it has no permission to send ICMP package
228 # -------------------------------
230 # -------------------------------
232 name: 'doctor-verify-publishers-macro'
235 artifacts: 'doctor_tests/*.log'
236 - email-jenkins-admins-on-failure
239 #####################################
241 #####################################
243 name: 'doctor-verify'
246 server-name: 'gerrit.opnfv.org'
248 - patchset-created-event:
249 exclude-drafts: 'false'
250 exclude-trivial-rebase: 'false'
251 exclude-no-code-change: 'false'
252 - draft-published-event
253 - comment-added-contains-event:
254 comment-contains-value: 'recheck'
255 - comment-added-contains-event:
256 comment-contains-value: 'reverify'
258 - project-compare-type: 'ANT'
259 project-pattern: '{project}'
261 - branch-compare-type: 'ANT'
262 branch-pattern: '**/{branch}'