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'
148 - 'functest-suite-builder'
150 functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
151 to_be_archived="$WORKSPACE/tests/functest-{project}.log"
152 cp $functest_log $to_be_archived
153 # NOTE: checking the test result, as the previous job could return
154 # 0 regardless the result of doctor test scenario.
155 grep -e ' OK$' $functest_log || exit 1
159 artifacts: 'tests/*.log'
162 #####################################
164 #####################################
166 name: 'doctor-verify'
169 server-name: 'gerrit.opnfv.org'
171 - patchset-created-event:
172 exclude-drafts: 'false'
173 exclude-trivial-rebase: 'false'
174 exclude-no-code-change: 'false'
175 - draft-published-event
176 - comment-added-contains-event:
177 comment-contains-value: 'recheck'
178 - comment-added-contains-event:
179 comment-contains-value: 'reverify'
181 - project-compare-type: 'ANT'
182 project-pattern: '{project}'
184 - branch-compare-type: 'ANT'
185 branch-pattern: '**/{branch}'