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'
40 auto-trigger-name: 'experimental'
44 auto-trigger-name: 'doctor-verify'
54 - 'doctor-verify-{stream}'
55 - 'doctor-{task}-{installer}-{inspector}-{pod}-{stream}'
56 - 'doctor-{task}-{installer}-{inspector}-{stream}'
59 name: 'doctor-verify-{stream}'
61 disabled: '{obj:disabled}'
67 - 'opnfv-build-ubuntu-defaults'
74 server-name: 'gerrit.opnfv.org'
76 - patchset-created-event:
77 exclude-drafts: 'false'
78 exclude-trivial-rebase: 'false'
79 exclude-no-code-change: 'false'
80 - draft-published-event
81 - comment-added-contains-event:
82 comment-contains-value: 'recheck'
83 - comment-added-contains-event:
84 comment-contains-value: 'reverify'
86 - project-compare-type: 'ANT'
87 project-pattern: '{project}'
89 - branch-compare-type: 'ANT'
90 branch-pattern: '**/{branch}'
96 - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
99 name: 'doctor-{task}-{installer}-{inspector}-{pod}-{stream}'
101 node: '{slave-label}'
103 disabled: '{obj:disabled}'
109 - 'opnfv-build-ubuntu-defaults'
116 - '{auto-trigger-name}':
121 - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
125 name: 'doctor-{task}-{installer}-{inspector}-{stream}'
127 node: '{slave-label}'
135 default: /home/jenkins/openstack.creds
136 description: 'OpenStack credentials'
137 - '{slave-label}-defaults'
138 - '{installer}-defaults'
141 default: '{docker-tag}'
142 description: 'Tag to pull docker image'
144 name: CLEAN_DOCKER_IMAGES
146 description: 'Remove downloaded docker images (opnfv/functest:*)'
148 name: DEPLOY_SCENARIO
149 default: 'os-nosdn-nofeature-ha'
150 description: 'Scenario to deploy and test'
151 # functest-suite-parameter
153 name: FUNCTEST_SUITE_NAME
154 default: 'doctor-notification'
156 name: TESTCASE_OPTIONS
157 default: '-e INSPECTOR_TYPE={inspector} -e PROFILER_TYPE={profiler} -e PYTHON_ENABLE={is-python} -v $WORKSPACE:/home/opnfv/repos/doctor'
158 description: 'Addtional parameters specific to test case(s)'
162 default: '{gs-pathname}'
163 description: "Version directory where the opnfv documents will be stored in gs repository"
165 name: FUNCTEST_REPO_DIR
166 default: "/home/opnfv/repos/functest"
167 description: "Directory where the Functest repository is cloned"
169 name: PUSH_RESULTS_TO_DB
171 description: "Push the results of all the tests to the resultDB"
175 description: "Show debug output information"
181 - '{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 - 'functest-suite-builder'
196 functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
197 # NOTE: checking the test result, as the previous job could return
198 # 0 regardless the result of doctor test scenario.
199 grep -e ' OK$' $functest_log || exit 1
203 artifacts: 'tests/*.log'
205 artifacts: 'functest_results/{project}.log'
208 #####################################
210 #####################################
212 name: 'doctor-verify'
215 server-name: 'gerrit.opnfv.org'
217 - patchset-created-event:
218 exclude-drafts: 'false'
219 exclude-trivial-rebase: 'false'
220 exclude-no-code-change: 'false'
221 - draft-published-event
222 - comment-added-contains-event:
223 comment-contains-value: 'recheck'
224 - comment-added-contains-event:
225 comment-contains-value: 'reverify'
227 - project-compare-type: 'ANT'
228 project-pattern: '{project}'
230 - branch-compare-type: 'ANT'
231 branch-pattern: '**/{branch}'