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: 'origin/{branch}'
100 description: "Override GIT_BRANCH parameter as we need stream name here"
101 #TODO(r-mibu): remove this work around by cleanup *_BRANCH params
104 default: /home/jenkins/openstack.creds
105 description: 'OpenStack credentials'
106 - '{slave-label}-defaults'
107 - '{installer}-defaults'
110 default: '{docker-tag}'
111 description: 'Tag to pull docker image'
113 name: CLEAN_DOCKER_IMAGES
115 description: 'Remove downloaded docker images (opnfv/functest:*)'
117 name: DEPLOY_SCENARIO
118 default: 'os-nosdn-nofeature-ha'
119 description: 'Scenario to deploy and test'
120 # functest-suite-parameter
122 name: FUNCTEST_SUITE_NAME
125 name: TESTCASE_OPTIONS
126 default: '-e INSPECTOR_TYPE={inspector} -e PROFILER_TYPE={profiler} -v $WORKSPACE:/home/opnfv/repos/doctor'
127 description: 'Addtional parameters specific to test case(s)'
131 default: '{gs-pathname}'
132 description: "Version directory where the opnfv documents will be stored in gs repository"
134 name: FUNCTEST_REPO_DIR
135 default: "/home/opnfv/repos/functest"
136 description: "Directory where the Functest repository is cloned"
138 name: PUSH_RESULTS_TO_DB
140 description: "Push the results of all the tests to the resultDB"
144 description: "Show debug output information"
150 - '{auto-trigger-name}':
155 - 'functest-suite-builder'
157 functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
158 to_be_archived="$WORKSPACE/tests/functest-{project}.log"
159 cp $functest_log $to_be_archived
160 # NOTE: checking the test result, as the previous job could return
161 # 0 regardless the result of doctor test scenario.
162 grep -e ' OK$' $functest_log || exit 1
166 artifacts: 'tests/*.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}'