2 name: integration-branch
7 description: 'Distribution GIT branch'
10 name: integration-bundleurl
14 default: '{bundleurl}'
15 description: 'URL to karaf distribution zip'
18 name: integration-controller-scope
22 default: '{controller-scope}'
23 description: 'Feature Only or Feature All test'
26 name: integration-controller-features
29 name: CONTROLLERFEATURES
30 default: '{controller-features}'
31 description: 'Features to install in the controller separated by comma'
34 name: integration-test-plan
38 default: '{test-plan}'
39 description: 'Test plan we will run'
42 name: integration-test-options
46 default: '{test-options}'
47 description: 'Robot command options'
50 name: integration-distribution-git-url
54 default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/integration/distribution'
55 description: 'Distribution GIT URL (do not modify)'
58 name: integration-patch-refspec
63 description: 'Integration Patch Refspec'
65 # Macro: integration-gerrit-scm
66 # Operation: this macro downloads a project gerrit and using the project name as basedir
67 # Used by: integration-patch-test-{stream} job template
70 name: integration-gerrit-scm
73 credentials-id: '{credentials-id}'
75 basedir: '$GERRIT_PROJECT'
76 refspec: '$GERRIT_REFSPEC'
80 choosing-strategy: 'gerrit'
82 # Macro: integration-gerrit-test-scm
83 # Operation: this macro downloads an integration/test gerrit using test as basedir
84 # Used by: {project}-verify-csit-* job templates
87 name: integration-gerrit-test-scm
90 credentials-id: '{credentials-id}'
93 refspec: '$GERRIT_REFSPEC'
97 choosing-strategy: 'gerrit'
99 # Macro: integration-distribution-scm
100 # Operation: this macro downloads the integration/distribution repo using distribution as basedir
101 # Used by: {project}-csit-* and integration-patch-test-{stream} job templates
104 name: integration-distribution-scm
107 credentials-id: '{credentials-id}'
108 basedir: 'distribution'
115 # Macro: integration-patch-scm
116 # Operation: this macro downloads a test patch that can be used to debug in the sandbox
117 # Used by: {project}-csit-* job templates
120 name: integration-test-scm
123 credentials-id: '{credentials-id}'
126 refspec: '$PATCHREFSPEC'
130 choosing-strategy: 'gerrit'
132 # Macro: integration-test-gerrit-trigger-patch-submitted
133 # Operation: this macro sets a trigger for patch submit on test/csit/suites/{project}/**
134 # Used by: {project}-verify-csit-* job templates
137 name: integration-test-gerrit-trigger-patch-submitted
140 server-name: 'OpenDaylight'
142 - patchset-created-event:
143 exclude-drafts: 'true'
144 exclude-trivial-rebase: 'false'
145 exclude-no-code-change: 'true'
146 - draft-published-event
147 - comment-added-contains-event:
148 comment-contains-value: 'recheck'
149 - comment-added-contains-event:
150 comment-contains-value: 'reverify'
152 - project-compare-type: 'ANT'
153 project-pattern: '{name}'
155 - branch-compare-type: 'ANT'
156 branch-pattern: '**/{branch}'
158 - compare-type: 'ANT'
159 pattern: 'csit/suites/{project}/**'
161 # Macro: integration-csit-gerrit-trigger-patch-submitted
162 # Operation: this macro sets a trigger for patch submit on test/csit/**
163 # Used by: integration-verify-csit-1node-{stream} job template
166 name: integration-csit-gerrit-trigger-patch-submitted
169 server-name: 'OpenDaylight'
171 - patchset-created-event:
172 exclude-drafts: 'true'
173 exclude-trivial-rebase: 'false'
174 exclude-no-code-change: 'true'
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: '{name}'
184 - branch-compare-type: 'ANT'
185 branch-pattern: '**/{branch}'
187 - compare-type: 'ANT'
190 # Macro: integration-csit-gerrit-trigger-patch-merged
191 # Operation: this macro sets a trigger for patch merged on test/csit/**
192 # Used by: not used yet
195 name: integration-csit-gerrit-trigger-patch-merged
198 server-name: 'OpenDaylight'
200 - change-merged-event
201 - comment-added-contains-event:
202 comment-contains-value: 'remerge'
204 - project-compare-type: 'ANT'
205 project-pattern: '{name}'
207 - branch-compare-type: 'ANT'
208 branch-pattern: '**/{branch}'
210 - compare-type: 'ANT'
213 # Macro: integration-jclouds-controller-mininet
214 # Operation: this macro will spin the controller and mininet vms
215 # Used by: {project}-csit-* job templates
218 name: integration-jclouds-controller-mininet
223 cloud-name: 'Rackspace DFW - Integration Dynamic Lab'
224 count: '{controller-vms}'
225 stop-on-terminate: False
227 cloud-name: 'Rackspace DFW - Integration Dynamic Lab'
228 count: '{mininet-vms}'
229 stop-on-terminate: False
235 # Macro: integration-get-slave-addresses
236 # Operation: this macro gets the IP addresses of the dynamic vms
237 # Used by: {project}-csit-* job templates
240 name: integration-get-slave-addresses
243 !include-raw include-raw-integration-get-slave-addresses.sh
245 # Macro: integration-get-bundle-vars
246 # Operation: this macro gets all bundle related variables
247 # Used by: {project}-csit-3node-* job templates
250 name: integration-get-bundle-vars
253 !include-raw include-raw-integration-get-bundle-vars.sh
255 # Macro: integration-deply-controller-run-test
256 # Operation: this macro deployes single contoller and runs test
257 # Used by: {project}-csit-1node-* job templates
260 name: integration-deploy-controller-run-test
263 !include-raw include-raw-integration-deploy-controller-run-test.sh
265 # Macro: integration-deploy-controller
266 # Operation: this macro prepares 3-node cluster controller
267 # Used by: {project}-csit-3node-* job templates
270 name: integration-deploy-controller
273 !include-raw include-raw-integration-deploy-controller.sh
275 # Macro: integration-configure-clustering
276 # Operation: this macro configures the clustering
277 # Used by: {project}-csit-3node-* job templates
280 name: integration-configure-clustering
283 !include-raw include-raw-integration-configure-clustering.sh
285 # Macro: integration-start-cluster-run-test
286 # Operation: this macro starts the 3-node cluster and runs test
287 # Used by: {project}-csit-3node-* job templates
290 name: integration-start-cluster-run-test
293 !include-raw include-raw-integration-start-cluster-run-test.sh
295 # Macro: integration-deploy-controller-offline
296 # Operation: this macro deployes the controller with no external repo configuration
297 # Used by: integration-distrbution-offline-{stream} job template
300 name: integration-deploy-controller-offline
303 !include-raw include-raw-integration-deploy-controller-offline.sh
305 # Macro: integration-get-bundle-url
306 # Operation: this macro gets the distribution bundle URL
307 # Used by: integration-patch-test-{stream} job template
310 name: integration-get-bundle-url
313 !include-raw include-raw-integration-get-bundle-url.sh
319 # Macro: integration-robot
320 # Operation: this macro publishes robot results
321 # Used by: {project}-csit-* job templates
324 name: integration-robot
329 unstable-threshold: '{unstable-if}'
330 pass-threshold: '{pass-if}'