9 - 'functest-openstack-bench-test'
10 - 'functest-openstack-tempest-smoke-test'
12 - 'functest-vims-test'
13 - 'functest-vping-test'
14 - 'functest-daily-{stream}'
18 # stream: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
28 name: functest-openstack-bench-test
30 project-type: freestyle
37 artifactDaysToKeep: -1
42 python $HOME/.functest/run_rally.py all
45 name: functest-openstack-tempest-smoke-test
47 project-type: freestyle
54 artifactDaysToKeep: -1
59 rally verify start smoke
63 name: functest-odl-test
65 project-type: freestyle
72 artifactDaysToKeep: -1
77 echo "put your CI scenario here"
80 name: functest-vims-test
82 project-type: freestyle
89 artifactDaysToKeep: -1
94 echo "put your CI scenario here"
98 name: functest-vping-test
100 project-type: freestyle
107 artifactDaysToKeep: -1
108 artifactNumToKeep: -1
112 python $HOME/.functest/vPing/vPing.py
117 project-type: freestyle
124 artifactDaysToKeep: -1
125 artifactNumToKeep: -1
131 name: 'functest-daily-{stream}'
135 # Job template for daily builders
137 # Required Variables:
138 # stream: branch with - in place of / (eg. stable)
139 # branch: branch (eg. stable)
141 project-type: freestyle
142 varsetabove: '{somevar}'
145 daysToKeep: '{build-days-to-keep}'
146 numToKeep: '{build-num-to-keep}'
147 artifactDaysToKeep: '{build-artifact-days-to-keep}'
148 artifactNumToKeep: '{build-artifact-num-to-keep}'
156 credentials-id: '{ssh-credentials}'
161 - ssh-agent-credentials:
162 user: '{ssh-credentials}'
172 !include-raw docu-build.sh
178 name: 'functest-verify'
182 project-type: freestyle
187 artifactDaysToKeep: -1
188 artifactNumToKeep: -1
196 - gerrit-trigger-scm:
197 credentials-id: '{ssh-credentials}'
198 refspec: '$GERRIT_REFSPEC'
199 choosing-strategy: 'gerrit'
202 - ssh-agent-credentials:
203 user: '{ssh-credentials}'
208 - patchset-created-event:
209 exclude-drafts: 'false'
210 exclude-trivial-rebase: 'false'
211 exclude-no-code-change: 'false'
212 - draft-published-event
213 - comment-added-contains-event:
214 comment-contains-value: 'recheck'
215 - comment-added-contains-event:
216 comment-contains-value: 'reverify'
218 - project-compare-type: 'ANT'
219 project-pattern: 'functest'
221 - branch-compare-type: 'ANT'
222 branch-pattern: '**/master'
226 !include-raw docu-verify.sh
229 name: 'functest-merge'
233 # builder-merge job to run JJB update
235 # This job's purpose is to update all the JJB
237 project-type: freestyle
242 artifactDaysToKeep: -1
252 - gerrit-trigger-scm:
253 credentials-id: '{ssh-credentials}'
255 choosing-strategy: 'default'
258 - ssh-agent-credentials:
259 user: '{ssh-credentials}'
264 - change-merged-event
265 - comment-added-contains-event:
266 comment-contains-value: 'remerge'
268 - project-compare-type: 'ANT'
269 project-pattern: 'functest'
271 - branch-compare-type: 'ANT'
272 branch-pattern: '**/master'
276 !include-raw docu-build.sh
283 echo "Functest: prepare Functest environment"
284 source $HOME/functest/opnfv-openrc.sh
285 python $HOME/functest/config_functest.py start
286 echo "Functest: run Functest suites"
287 python $HOME/.functest/Rally_test/run_rally.py all
288 python $HOME/.functest/Rally_test/run_rally.py tempest smoke
289 python $HOME/.functest/vPing/vPing.py
290 $HOME/.functest/ODL/start_tests.sh
291 echo "Functest: clean Functest environment"
292 python $HOME/functest/config_functest.py clean