13 branch: 'stable/{stream}'
14 gs-pathname: '/{stream}'
35 # disabling the following tests due to limitation of PoD owners
36 # these would beenabled again once the PoDs are ready
41 - 'doctor-verify-{stream}'
42 - 'doctor-verify-{installer}-{inspector}-{arch}-{stream}'
45 name: 'doctor-verify-{stream}'
46 disabled: '{obj:disabled}'
47 project-type: 'multijob'
52 - 'doctor-slave-parameter'
59 files: 'doctor_tests/**'
64 # we do nothing here as the main stuff will be done
66 echo "Triggering phase jobs!"
68 name: 'doctor-verify-sample'
69 execution-type: PARALLEL
71 - name: 'doctor-verify-apex-sample-x86_64-{stream}'
72 predefined-parameters: |
74 GERRIT_BRANCH=$GERRIT_BRANCH
75 GERRIT_REFSPEC=$GERRIT_REFSPEC
76 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
77 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
78 kill-phase-on: FAILURE
80 - name: 'doctor-verify-daisy-sample-x86_64-{stream}'
81 predefined-parameters: |
83 GERRIT_BRANCH=$GERRIT_BRANCH
84 GERRIT_REFSPEC=$GERRIT_REFSPEC
85 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
86 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
87 kill-phase-on: FAILURE
90 name: 'doctor-verify-congress'
91 execution-type: PARALLEL
93 - name: 'doctor-verify-apex-congress-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
102 - name: 'doctor-verify-daisy-congress-x86_64-{stream}'
103 predefined-parameters: |
105 GERRIT_BRANCH=$GERRIT_BRANCH
106 GERRIT_REFSPEC=$GERRIT_REFSPEC
107 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
108 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
109 kill-phase-on: FAILURE
113 name: 'doctor-verify-{installer}-{inspector}-{arch}-{stream}'
114 disabled: '{obj:disabled}'
115 node: 'doctor-{installer}-{arch}'
124 - '{installer}-defaults'
125 - 'doctor-slave-parameter'
126 - 'doctor-parameter':
127 inspector: '{inspector}'
131 - 'doctor-verify-installer-inspector-builders-macro'
133 - 'doctor-verify-publishers-macro'
136 # -------------------------------
138 # -------------------------------
140 name: 'doctor-parameter'
144 default: '{inspector}'
145 description: 'inspector component'
147 # -------------------------------
149 # -------------------------------
152 name: 'doctor-verify-installer-inspector-builders-macro'
154 # yamllint disable rule:indentation
157 - ./doctor-env-presetup.sh
158 - ../../utils/fetch_os_creds.sh
160 # prepare the env for test
161 source $HOME/opnfv-openrc.sh
162 if [ -f $HOME/os_cacert ]; then
163 export OS_CACERT=$HOME/os_cacert
165 source $HOME/opnfv-installer.sh
167 # run tox to trigger the test
168 # As Jenkins user, it has no permission to send ICMP package
172 # -------------------------------
174 # -------------------------------
176 name: 'doctor-verify-publishers-macro'
179 artifacts: 'doctor_tests/*.log'
180 - email-jenkins-admins-on-failure
183 #####################################
185 #####################################
187 name: 'doctor-verify'
190 server-name: 'gerrit.opnfv.org'
192 - patchset-created-event:
193 exclude-drafts: 'false'
194 exclude-trivial-rebase: 'false'
195 exclude-no-code-change: 'false'
196 - draft-published-event
197 - comment-added-contains-event:
198 comment-contains-value: 'recheck'
199 - comment-added-contains-event:
200 comment-contains-value: 'reverify'
202 - project-compare-type: 'ANT'
203 project-pattern: '{project}'
205 - branch-compare-type: 'ANT'
206 branch-pattern: '**/{branch}'