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-all-apex-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
112 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
113 disabled: '{obj:disabled}'
114 node: 'doctor-{installer}-{arch}'
123 - '{installer}-defaults'
124 - 'doctor-slave-parameter'
125 - 'doctor-parameter':
126 inspector: '{inspector}'
127 test_case: 'fault_management'
131 - 'doctor-verify-installer-inspector-builders-macro'
133 - 'doctor-verify-publishers-macro'
136 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
137 disabled: '{obj:disabled}'
147 - '{installer}-defaults'
148 - 'doctor-slave-parameter'
149 - 'doctor-parameter':
150 inspector: '{inspector}'
151 test_case: 'maintenance'
155 - 'doctor-verify-installer-inspector-builders-macro'
157 - 'doctor-verify-publishers-macro'
160 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
161 disabled: '{obj:disabled}'
162 node: 'doctor-{installer}-{arch}'
171 - '{installer}-defaults'
172 - 'doctor-slave-parameter'
173 - 'doctor-parameter':
174 inspector: '{inspector}'
179 - 'doctor-verify-installer-inspector-builders-macro'
181 - 'doctor-verify-publishers-macro'
184 # -------------------------------
186 # -------------------------------
188 name: 'doctor-parameter'
192 default: '{inspector}'
193 description: 'inspector component'
196 default: '{test_case}'
197 description: 'test case: all, fault_management or maintenance'
200 # -------------------------------
202 # -------------------------------
205 name: 'doctor-verify-installer-inspector-builders-macro'
207 # yamllint disable rule:indentation
210 - ./doctor-env-presetup.sh
211 - ../../utils/fetch_os_creds.sh
213 # prepare the env for test
214 source $HOME/opnfv-openrc.sh
215 if [ -f $HOME/os_cacert ]; then
216 export OS_CACERT=$HOME/os_cacert
218 source $HOME/opnfv-installer.sh
220 # run tox to trigger the test
221 # As Jenkins user, it has no permission to send ICMP package
225 # -------------------------------
227 # -------------------------------
229 name: 'doctor-verify-publishers-macro'
232 artifacts: 'doctor_tests/*.log'
233 - email-jenkins-admins-on-failure
236 #####################################
238 #####################################
240 name: 'doctor-verify'
243 server-name: 'gerrit.opnfv.org'
245 - patchset-created-event:
246 exclude-drafts: 'false'
247 exclude-trivial-rebase: 'false'
248 exclude-no-code-change: 'false'
249 - draft-published-event
250 - comment-added-contains-event:
251 comment-contains-value: 'recheck'
252 - comment-added-contains-event:
253 comment-contains-value: 'reverify'
255 - project-compare-type: 'ANT'
256 project-pattern: '{project}'
258 - branch-compare-type: 'ANT'
259 branch-pattern: '**/{branch}'