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}':
119 - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
123 name: 'doctor-{task}-{installer}-{inspector}-{stream}'
125 node: '{slave-label}'
133 default: /home/jenkins/openstack.creds
134 description: 'OpenStack credentials'
135 - '{slave-label}-defaults'
136 - '{installer}-defaults'
139 default: '{docker-tag}'
140 description: 'Tag to pull docker image'
142 name: CLEAN_DOCKER_IMAGES
144 description: 'Remove downloaded docker images (opnfv/functest:*)'
146 name: DEPLOY_SCENARIO
147 default: 'os-nosdn-nofeature-ha'
148 description: 'Scenario to deploy and test'
149 # functest-suite-parameter
151 name: FUNCTEST_SUITE_NAME
152 default: 'doctor-notification'
154 name: TESTCASE_OPTIONS
155 default: '-e INSPECTOR_TYPE={inspector} -e PROFILER_TYPE={profiler} -e PYTHON_ENABLE={is-python} -v $WORKSPACE:/home/opnfv/repos/doctor'
156 description: 'Addtional parameters specific to test case(s)'
160 default: '{gs-pathname}'
161 description: "Version directory where the opnfv documents will be stored in gs repository"
163 name: FUNCTEST_REPO_DIR
164 default: "/home/opnfv/repos/functest"
165 description: "Directory where the Functest repository is cloned"
167 name: PUSH_RESULTS_TO_DB
169 description: "Push the results of all the tests to the resultDB"
173 description: "Show debug output information"
179 - '{auto-trigger-name}':
184 - 'clean-workspace-log'
186 # NOTE: Create symbolic link, so that we can archive file outside
188 # NOTE: We are printing all logs under 'tests/' during test run,
189 # so this symbolic link should not be in 'tests/'. Otherwise,
190 # we'll have the same log twice in jenkins console log.
191 ln -sfn $HOME/opnfv/functest/results/{stream} functest_results
192 # NOTE: Get functest script in $WORKSPACE. This functest script is
193 # needed to perform VM image download in set-functest-env.sh
194 # from E release cycle.
196 wget https://git.opnfv.org/functest/plain/functest/ci/download_images.sh -O functest/ci/download_images.sh
197 - 'functest-suite-builder'
199 functest_log="$HOME/opnfv/functest/results/{stream}/$FUNCTEST_SUITE_NAME.log"
200 # NOTE: checking the test result, as the previous job could return
201 # 0 regardless the result of doctor test scenario.
202 grep -e ' OK$' $functest_log || exit 1
206 artifacts: 'tests/*.log'
208 artifacts: 'functest_results/$FUNCTEST_SUITE_NAME.log'
211 #####################################
213 #####################################
215 name: 'doctor-verify'
218 server-name: 'gerrit.opnfv.org'
220 - patchset-created-event:
221 exclude-drafts: 'false'
222 exclude-trivial-rebase: 'false'
223 exclude-no-code-change: 'false'
224 - draft-published-event
225 - comment-added-contains-event:
226 comment-contains-value: 'recheck'
227 - comment-added-contains-event:
228 comment-contains-value: 'reverify'
230 - project-compare-type: 'ANT'
231 project-pattern: '{project}'
233 - branch-compare-type: 'ANT'
234 branch-pattern: '**/{branch}'