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'
42 - 'doctor-verify-{stream}'
43 - 'doctor-{task}-{installer}-{inspector}-{stream}'
46 name: 'doctor-verify-{stream}'
48 disabled: '{obj:disabled}'
54 - 'opnfv-build-ubuntu-defaults'
61 server-name: 'gerrit.opnfv.org'
63 - patchset-created-event:
64 exclude-drafts: 'false'
65 exclude-trivial-rebase: 'false'
66 exclude-no-code-change: 'false'
67 - draft-published-event
68 - comment-added-contains-event:
69 comment-contains-value: 'recheck'
70 - comment-added-contains-event:
71 comment-contains-value: 'reverify'
73 - project-compare-type: 'ANT'
74 project-pattern: '{project}'
76 - branch-compare-type: 'ANT'
77 branch-pattern: '**/{branch}'
83 - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
86 name: 'doctor-{task}-{installer}-{inspector}-{stream}'
96 default: /home/jenkins/openstack.creds
97 description: 'OpenStack credentials'
98 - '{slave-label}-defaults'
99 - '{installer}-defaults'
102 default: '{docker-tag}'
103 description: 'Tag to pull docker image'
105 name: CLEAN_DOCKER_IMAGES
107 description: 'Remove downloaded docker images (opnfv/functest:*)'
109 name: DEPLOY_SCENARIO
110 default: 'os-nosdn-nofeature-ha'
111 description: 'Scenario to deploy and test'
112 # functest-suite-parameter
114 name: FUNCTEST_SUITE_NAME
117 name: TESTCASE_OPTIONS
118 default: '-e INSPECTOR_TYPE={inspector} -e PROFILER_TYPE={profiler} -v $WORKSPACE:/home/opnfv/repos/doctor'
119 description: 'Addtional parameters specific to test case(s)'
123 default: '{gs-pathname}'
124 description: "Version directory where the opnfv documents will be stored in gs repository"
126 name: FUNCTEST_REPO_DIR
127 default: "/home/opnfv/repos/functest"
128 description: "Directory where the Functest repository is cloned"
130 name: PUSH_RESULTS_TO_DB
132 description: "Push the results of all the tests to the resultDB"
136 description: "Show debug output information"
142 - '{auto-trigger-name}':
147 - 'clean-workspace-log'
149 # NOTE: Create symbolic link, so that we can archive file outside
151 # NOTE: We are printing all logs under 'tests/' during test run,
152 # so this symbolic link should not be in 'tests/'. Otherwise,
153 # we'll have the same log twice in jenkins console log.
154 ln -sfn $HOME/opnfv/functest/results/{stream} functest_results
155 - 'functest-suite-builder'
157 functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
158 # NOTE: checking the test result, as the previous job could return
159 # 0 regardless the result of doctor test scenario.
160 grep -e ' OK$' $functest_log || exit 1
164 artifacts: 'tests/*.log'
166 artifacts: 'functest_results/{project}.log'
169 #####################################
171 #####################################
173 name: 'doctor-verify'
176 server-name: 'gerrit.opnfv.org'
178 - patchset-created-event:
179 exclude-drafts: 'false'
180 exclude-trivial-rebase: 'false'
181 exclude-no-code-change: 'false'
182 - draft-published-event
183 - comment-added-contains-event:
184 comment-contains-value: 'recheck'
185 - comment-added-contains-event:
186 comment-contains-value: 'reverify'
188 - project-compare-type: 'ANT'
189 project-pattern: '{project}'
191 - branch-compare-type: 'ANT'
192 branch-pattern: '**/{branch}'