13 branch: 'stable/{stream}'
14 gs-pathname: '/{stream}'
20 slave-label: 'ool-virtual1'
28 - 'doctor-verify-{stream}'
29 - 'doctor-verify-{installer}-{inspector}-{stream}'
32 name: 'doctor-verify-{stream}'
34 disabled: '{obj:disabled}'
41 - 'opnfv-build-ubuntu-defaults'
48 server-name: 'gerrit.opnfv.org'
50 - patchset-created-event:
51 exclude-drafts: 'false'
52 exclude-trivial-rebase: 'false'
53 exclude-no-code-change: 'false'
54 - draft-published-event
55 - comment-added-contains-event:
56 comment-contains-value: 'recheck'
57 - comment-added-contains-event:
58 comment-contains-value: 'reverify'
60 - project-compare-type: 'ANT'
61 project-pattern: '{project}'
63 - branch-compare-type: 'ANT'
64 branch-pattern: '**/{branch}'
70 - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"
73 name: 'doctor-verify-{installer}-{inspector}-{stream}'
84 default: /home/jenkins/openstack.creds
85 description: 'OpenStack credentials'
86 - '{slave-label}-defaults'
89 default: '{installer}'
90 description: 'Installer used for deploying OPNFV on this POD'
93 default: '{docker-tag}'
94 description: 'Tag to pull docker image'
96 name: CLEAN_DOCKER_IMAGES
98 description: 'Remove downloaded docker images (opnfv/functest:*)'
100 name: DEPLOY_SCENARIO
101 default: 'os-nosdn-nofeature-ha'
102 description: 'Scenario to deploy and test'
103 # functest-suite-parameter
105 name: FUNCTEST_SUITE_NAME
108 name: TESTCASE_OPTIONS
109 default: '-e INSPECTOR_TYPE={inspector} -v $WORKSPACE:/home/opnfv/repos/doctor'
110 description: 'Addtional parameters specific to test case(s)'
114 default: '{gs-pathname}'
115 description: "Version directory where the opnfv documents will be stored in gs repository"
117 name: FUNCTEST_REPO_DIR
118 default: "/home/opnfv/repos/functest"
119 description: "Directory where the Functest repository is cloned"
121 name: PUSH_RESULTS_TO_DB
123 description: "Push the results of all the tests to the resultDB"
127 description: "Show debug output information"
134 server-name: 'gerrit.opnfv.org'
136 - patchset-created-event:
137 exclude-drafts: 'false'
138 exclude-trivial-rebase: 'false'
139 exclude-no-code-change: 'false'
140 - draft-published-event
141 - comment-added-contains-event:
142 comment-contains-value: 'recheck'
143 - comment-added-contains-event:
144 comment-contains-value: 'reverify'
146 - project-compare-type: 'ANT'
147 project-pattern: '{project}'
149 - branch-compare-type: 'ANT'
150 branch-pattern: '**/{branch}'
161 - 'functest-suite-builder'
163 functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
164 to_be_archived="$WORKSPACE/tests/functest-{project}.log"
165 cp $functest_log $to_be_archived
166 # NOTE: checking the test result, as the previous job could return
167 # 0 regardless the result of doctor test scenario.
168 grep -e ' OK$' $functest_log || exit 1
172 artifacts: 'tests/*.log'