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 - 'functest-suite-builder'
194 functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
195 # NOTE: checking the test result, as the previous job could return
196 # 0 regardless the result of doctor test scenario.
197 grep -e ' OK$' $functest_log || exit 1
201 artifacts: 'tests/*.log'
203 artifacts: 'functest_results/{project}.log'
206 #####################################
208 #####################################
210 name: 'doctor-verify'
213 server-name: 'gerrit.opnfv.org'
215 - patchset-created-event:
216 exclude-drafts: 'false'
217 exclude-trivial-rebase: 'false'
218 exclude-no-code-change: 'false'
219 - draft-published-event
220 - comment-added-contains-event:
221 comment-contains-value: 'recheck'
222 - comment-added-contains-event:
223 comment-contains-value: 'reverify'
225 - project-compare-type: 'ANT'
226 project-pattern: '{project}'
228 - branch-compare-type: 'ANT'
229 branch-pattern: '**/{branch}'