13 branch: 'stable/{stream}'
14 gs-pathname: '/{stream}'
20 slave-label: 'ool-virtual1'
23 slave-label: 'ool-virtual2'
26 # slave-label: 'ool-virtual3'
36 auto-trigger-name: 'doctor-verify'
39 auto-trigger-name: 'experimental'
48 - 'doctor-verify-{stream}'
49 - 'doctor-{task}-{installer}-{inspector}-{pod}-{stream}'
50 - 'doctor-{task}-{installer}-{inspector}-{stream}'
53 name: 'doctor-verify-{stream}'
55 disabled: '{obj:disabled}'
61 - 'opnfv-build-ubuntu-defaults'
68 server-name: 'gerrit.opnfv.org'
70 - patchset-created-event:
71 exclude-drafts: 'false'
72 exclude-trivial-rebase: 'false'
73 exclude-no-code-change: 'false'
74 - draft-published-event
75 - comment-added-contains-event:
76 comment-contains-value: 'recheck'
77 - comment-added-contains-event:
78 comment-contains-value: 'reverify'
80 - project-compare-type: 'ANT'
81 project-pattern: '{project}'
83 - branch-compare-type: 'ANT'
84 branch-pattern: '**/{branch}'
90 - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
93 name: 'doctor-{task}-{installer}-{inspector}-{pod}-{stream}'
97 disabled: '{obj:disabled}'
103 - 'opnfv-build-ubuntu-defaults'
110 - '{auto-trigger-name}':
115 - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
119 name: 'doctor-{task}-{installer}-{inspector}-{stream}'
121 node: '{slave-label}'
129 default: /home/jenkins/openstack.creds
130 description: 'OpenStack credentials'
131 - '{slave-label}-defaults'
132 - '{installer}-defaults'
135 default: '{docker-tag}'
136 description: 'Tag to pull docker image'
138 name: CLEAN_DOCKER_IMAGES
140 description: 'Remove downloaded docker images (opnfv/functest:*)'
142 name: DEPLOY_SCENARIO
143 default: 'os-nosdn-nofeature-ha'
144 description: 'Scenario to deploy and test'
145 # functest-suite-parameter
147 name: FUNCTEST_SUITE_NAME
150 name: TESTCASE_OPTIONS
151 default: '-e INSPECTOR_TYPE={inspector} -e PROFILER_TYPE={profiler} -v $WORKSPACE:/home/opnfv/repos/doctor'
152 description: 'Addtional parameters specific to test case(s)'
156 default: '{gs-pathname}'
157 description: "Version directory where the opnfv documents will be stored in gs repository"
159 name: FUNCTEST_REPO_DIR
160 default: "/home/opnfv/repos/functest"
161 description: "Directory where the Functest repository is cloned"
163 name: PUSH_RESULTS_TO_DB
165 description: "Push the results of all the tests to the resultDB"
169 description: "Show debug output information"
175 - '{auto-trigger-name}':
180 - 'clean-workspace-log'
182 # NOTE: Create symbolic link, so that we can archive file outside
184 # NOTE: We are printing all logs under 'tests/' during test run,
185 # so this symbolic link should not be in 'tests/'. Otherwise,
186 # we'll have the same log twice in jenkins console log.
187 ln -sfn $HOME/opnfv/functest/results/{stream} functest_results
188 - 'functest-suite-builder'
190 functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
191 # NOTE: checking the test result, as the previous job could return
192 # 0 regardless the result of doctor test scenario.
193 grep -e ' OK$' $functest_log || exit 1
197 artifacts: 'tests/*.log'
199 artifacts: 'functest_results/{project}.log'
202 #####################################
204 #####################################
206 name: 'doctor-verify'
209 server-name: 'gerrit.opnfv.org'
211 - patchset-created-event:
212 exclude-drafts: 'false'
213 exclude-trivial-rebase: 'false'
214 exclude-no-code-change: 'false'
215 - draft-published-event
216 - comment-added-contains-event:
217 comment-contains-value: 'recheck'
218 - comment-added-contains-event:
219 comment-contains-value: 'reverify'
221 - project-compare-type: 'ANT'
222 project-pattern: '{project}'
224 - branch-compare-type: 'ANT'
225 branch-pattern: '**/{branch}'