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'
102 - '{installer}-defaults'
105 default: '{docker-tag}'
106 description: 'Tag to pull docker image'
108 name: CLEAN_DOCKER_IMAGES
110 description: 'Remove downloaded docker images (opnfv/functest:*)'
112 name: DEPLOY_SCENARIO
113 default: 'os-nosdn-nofeature-ha'
114 description: 'Scenario to deploy and test'
115 # functest-suite-parameter
117 name: FUNCTEST_SUITE_NAME
120 name: TESTCASE_OPTIONS
121 default: '-e INSPECTOR_TYPE={inspector} -e PROFILER_TYPE={profiler} -v $WORKSPACE:/home/opnfv/repos/doctor'
122 description: 'Addtional parameters specific to test case(s)'
126 default: '{gs-pathname}'
127 description: "Version directory where the opnfv documents will be stored in gs repository"
129 name: FUNCTEST_REPO_DIR
130 default: "/home/opnfv/repos/functest"
131 description: "Directory where the Functest repository is cloned"
133 name: PUSH_RESULTS_TO_DB
135 description: "Push the results of all the tests to the resultDB"
139 description: "Show debug output information"
145 - '{auto-trigger-name}':
150 - 'functest-suite-builder'
152 functest_log="$HOME/opnfv/functest/results/{project}.log"
153 to_be_archived="$WORKSPACE/tests/functest-{project}.log"
154 cp $functest_log $to_be_archived
155 # NOTE: checking the test result, as the previous job could return
156 # 0 regardless the result of doctor test scenario.
157 grep -e ' OK$' $functest_log || exit 1
161 artifacts: 'tests/*.log'
164 #####################################
166 #####################################
168 name: 'doctor-verify'
171 server-name: 'gerrit.opnfv.org'
173 - patchset-created-event:
174 exclude-drafts: 'false'
175 exclude-trivial-rebase: 'false'
176 exclude-no-code-change: 'false'
177 - draft-published-event
178 - comment-added-contains-event:
179 comment-contains-value: 'recheck'
180 - comment-added-contains-event:
181 comment-contains-value: 'reverify'
183 - project-compare-type: 'ANT'
184 project-pattern: '{project}'
186 - branch-compare-type: 'ANT'
187 branch-pattern: '**/{branch}'