13 branch: 'stable/{stream}'
14 gs-pathname: '/{stream}'
20 slave-label: 'ool-virtual1'
23 slave-label: 'ool-virtual2'
25 # TODO(r-mibu): enable this once joid is ready
27 # slave-label: 'ool-virtual3'
37 auto-trigger-name: 'doctor-verify'
40 auto-trigger-name: 'experimental'
43 - 'doctor-verify-{stream}'
44 - 'doctor-{task}-{installer}-{inspector}-{stream}'
47 name: 'doctor-verify-{stream}'
49 disabled: '{obj:disabled}'
56 - 'opnfv-build-ubuntu-defaults'
63 server-name: 'gerrit.opnfv.org'
65 - patchset-created-event:
66 exclude-drafts: 'false'
67 exclude-trivial-rebase: 'false'
68 exclude-no-code-change: 'false'
69 - draft-published-event
70 - comment-added-contains-event:
71 comment-contains-value: 'recheck'
72 - comment-added-contains-event:
73 comment-contains-value: 'reverify'
75 - project-compare-type: 'ANT'
76 project-pattern: '{project}'
78 - branch-compare-type: 'ANT'
79 branch-pattern: '**/{branch}'
85 - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
88 name: 'doctor-{task}-{installer}-{inspector}-{stream}'
99 default: /home/jenkins/openstack.creds
100 description: 'OpenStack credentials'
101 - '{slave-label}-defaults'
104 default: '{installer}'
105 description: 'Installer used for deploying OPNFV on this POD'
108 default: '{docker-tag}'
109 description: 'Tag to pull docker image'
111 name: CLEAN_DOCKER_IMAGES
113 description: 'Remove downloaded docker images (opnfv/functest:*)'
115 name: DEPLOY_SCENARIO
116 default: 'os-nosdn-nofeature-ha'
117 description: 'Scenario to deploy and test'
118 # functest-suite-parameter
120 name: FUNCTEST_SUITE_NAME
123 name: TESTCASE_OPTIONS
124 default: '-e INSPECTOR_TYPE={inspector} -e PROFILER_TYPE={profiler} -v $WORKSPACE:/home/opnfv/repos/doctor'
125 description: 'Addtional parameters specific to test case(s)'
129 default: '{gs-pathname}'
130 description: "Version directory where the opnfv documents will be stored in gs repository"
132 name: FUNCTEST_REPO_DIR
133 default: "/home/opnfv/repos/functest"
134 description: "Directory where the Functest repository is cloned"
136 name: PUSH_RESULTS_TO_DB
138 description: "Push the results of all the tests to the resultDB"
142 description: "Show debug output information"
148 - '{auto-trigger-name}':
153 - 'functest-suite-builder'
155 functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
156 to_be_archived="$WORKSPACE/tests/functest-{project}.log"
157 cp $functest_log $to_be_archived
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'
167 #####################################
169 #####################################
171 name: 'doctor-verify'
174 server-name: 'gerrit.opnfv.org'
176 - patchset-created-event:
177 exclude-drafts: 'false'
178 exclude-trivial-rebase: 'false'
179 exclude-no-code-change: 'false'
180 - draft-published-event
181 - comment-added-contains-event:
182 comment-contains-value: 'recheck'
183 - comment-added-contains-event:
184 comment-contains-value: 'reverify'
186 - project-compare-type: 'ANT'
187 project-pattern: '{project}'
189 - branch-compare-type: 'ANT'
190 branch-pattern: '**/{branch}'