13 branch: 'stable/{stream}'
14 gs-pathname: '/{stream}'
20 slave-label: 'ool-virtual1'
28 - 'doctor-verify-{stream}'
29 - 'doctor-verify-{installer}-{inspector}-{stream}'
30 - 'doctor-profiling-{stream}'
33 name: 'doctor-verify-{stream}'
35 disabled: '{obj:disabled}'
42 - 'opnfv-build-ubuntu-defaults'
49 server-name: 'gerrit.opnfv.org'
51 - patchset-created-event:
52 exclude-drafts: 'false'
53 exclude-trivial-rebase: 'false'
54 exclude-no-code-change: 'false'
55 - draft-published-event
56 - comment-added-contains-event:
57 comment-contains-value: 'recheck'
58 - comment-added-contains-event:
59 comment-contains-value: 'reverify'
61 - project-compare-type: 'ANT'
62 project-pattern: '{project}'
64 - branch-compare-type: 'ANT'
65 branch-pattern: '**/{branch}'
71 - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
74 name: 'doctor-verify-{installer}-{inspector}-{stream}'
85 default: /home/jenkins/openstack.creds
86 description: 'OpenStack credentials'
87 - '{slave-label}-defaults'
90 default: '{installer}'
91 description: 'Installer used for deploying OPNFV on this POD'
94 default: '{docker-tag}'
95 description: 'Tag to pull docker image'
97 name: CLEAN_DOCKER_IMAGES
99 description: 'Remove downloaded docker images (opnfv/functest:*)'
101 name: DEPLOY_SCENARIO
102 default: 'os-nosdn-nofeature-ha'
103 description: 'Scenario to deploy and test'
104 # functest-suite-parameter
106 name: FUNCTEST_SUITE_NAME
109 name: TESTCASE_OPTIONS
110 default: '-e INSPECTOR_TYPE={inspector} -v $WORKSPACE:/home/opnfv/repos/doctor'
111 description: 'Addtional parameters specific to test case(s)'
115 default: '{gs-pathname}'
116 description: "Version directory where the opnfv documents will be stored in gs repository"
118 name: FUNCTEST_REPO_DIR
119 default: "/home/opnfv/repos/functest"
120 description: "Directory where the Functest repository is cloned"
122 name: PUSH_RESULTS_TO_DB
124 description: "Push the results of all the tests to the resultDB"
128 description: "Show debug output information"
135 server-name: 'gerrit.opnfv.org'
137 - patchset-created-event:
138 exclude-drafts: 'false'
139 exclude-trivial-rebase: 'false'
140 exclude-no-code-change: 'false'
141 - draft-published-event
142 - comment-added-contains-event:
143 comment-contains-value: 'recheck'
144 - comment-added-contains-event:
145 comment-contains-value: 'reverify'
147 - project-compare-type: 'ANT'
148 project-pattern: '{project}'
150 - branch-compare-type: 'ANT'
151 branch-pattern: '**/{branch}'
162 - 'functest-suite-builder'
164 functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
165 to_be_archived="$WORKSPACE/tests/functest-{project}.log"
166 cp $functest_log $to_be_archived
167 # NOTE: checking the test result, as the previous job could return
168 # 0 regardless the result of doctor test scenario.
169 grep -e ' OK$' $functest_log || exit 1
173 artifacts: 'tests/*.log'
176 name: 'doctor-profiling-{stream}'
178 disabled: '{obj:disabled}'
187 description: "Profiler to be used"
197 #####################################
199 #####################################
200 # TODO(yujunz) replace common parameter in doctor-verify-{stream} with macro
202 name: 'doctor-defaults'
208 - 'opnfv-build-ubuntu-defaults'
210 #####################################
212 #####################################
213 # TODO(yujunz) move to opnfv commom
218 server-name: 'gerrit.opnfv.org'
220 - comment-added-contains-event:
221 comment-contains-value: 'check-experimental'
223 - project-compare-type: 'ANT'
224 project-pattern: '{project}'
226 - branch-compare-type: 'ANT'
227 branch-pattern: '**/{branch}'
229 - compare-type: 'ANT'