13 branch: 'stable/{stream}'
14 gs-pathname: '/{stream}'
20 slave-label: 'doctor-apex-verify'
22 slave-label: 'doctor-fuel-verify'
24 # slave-label: 'ool-virtual3'
34 auto-trigger-name: 'doctor-verify'
38 auto-trigger-name: 'experimental'
42 auto-trigger-name: 'doctor-verify'
52 - 'doctor-verify-{stream}'
53 - 'doctor-{task}-{installer}-{inspector}-{pod}-{stream}'
54 - 'doctor-{task}-{installer}-{inspector}-{stream}'
57 name: 'doctor-verify-{stream}'
59 disabled: '{obj:disabled}'
65 - 'opnfv-build-ubuntu-defaults'
72 server-name: 'gerrit.opnfv.org'
74 - patchset-created-event:
75 exclude-drafts: 'false'
76 exclude-trivial-rebase: 'false'
77 exclude-no-code-change: 'false'
78 - draft-published-event
79 - comment-added-contains-event:
80 comment-contains-value: 'recheck'
81 - comment-added-contains-event:
82 comment-contains-value: 'reverify'
84 - project-compare-type: 'ANT'
85 project-pattern: '{project}'
87 - branch-compare-type: 'ANT'
88 branch-pattern: '**/{branch}'
94 - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
97 name: 'doctor-{task}-{installer}-{inspector}-{pod}-{stream}'
101 disabled: '{obj:disabled}'
107 - 'opnfv-build-ubuntu-defaults'
114 - '{auto-trigger-name}':
120 - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
124 name: 'doctor-{task}-{installer}-{inspector}-{stream}'
126 node: '{slave-label}'
134 default: /home/jenkins/openstack.creds
135 description: 'OpenStack credentials'
136 - '{slave-label}-defaults'
137 - '{installer}-defaults'
140 default: '{docker-tag}'
141 description: 'Tag to pull docker image'
143 name: CLEAN_DOCKER_IMAGES
145 description: 'Remove downloaded docker images (opnfv/functest:*)'
147 name: DEPLOY_SCENARIO
148 default: 'os-nosdn-nofeature-ha'
149 description: 'Scenario to deploy and test'
150 # functest-suite-parameter
152 name: FUNCTEST_SUITE_NAME
153 default: 'doctor-notification'
155 name: TESTCASE_OPTIONS
156 default: '-e INSPECTOR_TYPE={inspector} -e PROFILER_TYPE={profiler} -e PYTHON_ENABLE={is-python} -v $WORKSPACE:/home/opnfv/repos/doctor'
157 description: 'Addtional parameters specific to test case(s)'
161 default: '{gs-pathname}'
162 description: "Version directory where the opnfv documents will be stored in gs repository"
164 name: FUNCTEST_REPO_DIR
165 default: "/home/opnfv/repos/functest"
166 description: "Directory where the Functest repository is cloned"
168 name: PUSH_RESULTS_TO_DB
170 description: "Push the results of all the tests to the resultDB"
174 description: "Show debug output information"
180 - '{auto-trigger-name}':
186 - 'clean-workspace-log'
188 # NOTE: Create symbolic link, so that we can archive file outside
190 # NOTE: We are printing all logs under 'tests/' during test run,
191 # so this symbolic link should not be in 'tests/'. Otherwise,
192 # we'll have the same log twice in jenkins console log.
193 ln -sfn $HOME/opnfv/functest/results/{stream} functest_results
194 # NOTE: Get functest script in $WORKSPACE. This functest script is
195 # needed to perform VM image download in set-functest-env.sh
196 # from E release cycle.
198 wget https://git.opnfv.org/functest/plain/functest/ci/download_images.sh -O functest/ci/download_images.sh
199 - 'functest-suite-builder'
201 functest_log="$HOME/opnfv/functest/results/{stream}/$FUNCTEST_SUITE_NAME.log"
202 # NOTE: checking the test result, as the previous job could return
203 # 0 regardless the result of doctor test scenario.
204 grep -e ' OK$' $functest_log || exit 1
208 artifacts: 'tests/*.log'
210 artifacts: 'functest_results/$FUNCTEST_SUITE_NAME.log'
211 - email-jenkins-admins-on-failure
214 #####################################
216 #####################################
218 name: 'doctor-verify'
221 server-name: 'gerrit.opnfv.org'
223 - patchset-created-event:
224 exclude-drafts: 'false'
225 exclude-trivial-rebase: 'false'
226 exclude-no-code-change: 'false'
227 - draft-published-event
228 - comment-added-contains-event:
229 comment-contains-value: 'recheck'
230 - comment-added-contains-event:
231 comment-contains-value: 'reverify'
233 - project-compare-type: 'ANT'
234 project-pattern: '{project}'
236 - branch-compare-type: 'ANT'
237 branch-pattern: '**/{branch}'