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
67 # Used by: all csit jobs
70 name: integration-gerrit-scm
73 credentials-id: '{credentials-id}'
80 choosing-strategy: 'gerrit'
82 # Macro: integration-distribution-scm
83 # Operation: this macro downloads the integration/distribution repo using distribution as basedir
84 # Used by: integration-patch-test-{stream} job template
87 name: integration-distribution-scm
90 credentials-id: '{credentials-id}'
91 basedir: 'distribution'
98 # Macro: integration-trigger-patch-submitted
99 # Operation: this macro sets a trigger for patch submitted on a path pattern
100 # Used by: {project}-verify-csit-* job templates
103 name: integration-trigger-patch-submitted
106 server-name: 'OpenDaylight'
108 - patchset-created-event:
109 exclude-drafts: 'true'
110 exclude-trivial-rebase: 'false'
111 exclude-no-code-change: 'true'
112 - draft-published-event
113 - comment-added-contains-event:
114 comment-contains-value: 'recheck'
115 - comment-added-contains-event:
116 comment-contains-value: 'reverify'
118 gerrit-build-unstable-verified-value: +1
119 gerrit-build-unstable-codereview-value: 0
121 - project-compare-type: 'ANT'
122 project-pattern: '{name}'
124 - branch-compare-type: 'ANT'
125 branch-pattern: '**/{branch}'
127 - compare-type: 'ANT'
130 # Macro: integration-trigger-patch-merged
131 # Operation: this macro sets a trigger for patch merged on a path pattern
132 # Used by: not used yet
135 name: integration-trigger-patch-merged
138 server-name: 'OpenDaylight'
140 - change-merged-event
141 - comment-added-contains-event:
142 comment-contains-value: 'remerge'
144 - project-compare-type: 'ANT'
145 project-pattern: '{name}'
147 - branch-compare-type: 'ANT'
148 branch-pattern: '**/{branch}'
150 - compare-type: 'ANT'
153 # Macro: integration-jclouds-controller-mininet
154 # Operation: this macro will spin the controller and mininet vms
155 # Used by: {project}-csit-* job templates
158 name: integration-jclouds-controller-mininet
163 cloud-name: 'Rackspace DFW - Integration Dynamic Lab'
164 count: '{controller-vms}'
165 stop-on-terminate: False
167 cloud-name: '{mininet-cloud-name}'
168 count: '{mininet-vms}'
169 stop-on-terminate: False
175 # Macro: integration-get-slave-addresses
176 # Operation: this macro gets the IP addresses of the dynamic vms
177 # Used by: {project}-csit-* job templates
180 name: integration-get-slave-addresses
184 - include-raw-integration-get-slave-addresses.sh
186 # Macro: integration-get-bundle-vars
187 # Operation: this macro gets all bundle related variables
188 # Used by: {project}-csit-3node-* job templates
191 name: integration-get-bundle-vars
195 - include-raw-integration-get-bundle-vars.sh
197 # Macro: integration-deploy-controller-verify
198 # Operation: this macro deploys the controller with all fetures
199 # Used by: integration-distrbution-deploy-{stream} job template
202 name: integration-deploy-controller-verify
206 - include-raw-integration-deploy-controller-verify.sh
208 # Macro: integration-deploy-controller-offline
209 # Operation: this macro deploys the controller with no external repo configuration
210 # Used by: integration-distrbution-offline-{stream} job template
213 name: integration-deploy-controller-offline
217 - include-raw-integration-deploy-controller-offline.sh
219 # Macro: integration-deply-controller-run-test
220 # Operation: this macro deploys single contoller and runs test
221 # Used by: {project}-csit-1node-* job templates
224 name: integration-deploy-controller-run-test
228 - include-raw-integration-deploy-controller-run-test.sh
230 # Macro: integration-deploy-controller
231 # Operation: this macro prepares 3-node cluster controller
232 # Used by: {project}-csit-3node-* job templates
235 name: integration-deploy-controller
239 - include-raw-integration-deploy-controller.sh
241 # Macro: integration-configure-clustering
242 # Operation: this macro configures the clustering
243 # Used by: {project}-csit-3node-* job templates
246 name: integration-configure-clustering
250 - include-raw-integration-configure-clustering.sh
252 # Macro: integration-start-cluster-run-test
253 # Operation: this macro starts the 3-node cluster and runs test
254 # Used by: {project}-csit-3node-* job templates
257 name: integration-start-cluster-run-test
261 - include-raw-integration-start-cluster-run-test.sh
263 # Macro: integration-get-bundle-url
264 # Operation: this macro gets the job generated distribution URL from distribution pom.xml
265 # Used by: integration-patch-test-{stream} job template
268 name: integration-get-bundle-url
272 - include-raw-integration-get-bundle-url.sh
274 # Macro: integration-get-bundle-url-root
275 # Operation: this macro gets the job generated distribution URL from root pom.xml
276 # Used by: integration-distribution-verify-{stream} job template
279 name: integration-get-bundle-url-root
283 - include-raw-integration-get-bundle-url-root.sh
285 # Macro: integration-install-robotframework
286 # Operation: Installs robotframework using pip to a virtualenv
287 # Used by: {project}-csit-* job templates
290 name: integration-install-robotframework
294 - include-raw-integration-install-robotframework.sh
296 # Macro: integration-cleanup-tmp
297 # Operation: Cleans up temporary files created by build
298 # Used by: {project}-csit-* job templates
301 name: integration-cleanup-tmp
305 - include-raw-integration-cleanup-tmp.sh
307 # Macro: integration-multipatch-builder
308 # Operation: checks out multiple patches and builds custom distribution
309 # Used by: integration-multipatch-test-* job templates
312 name: integration-multipatch-builder
316 - include-raw-integration-multipatch-distribution-test.sh
318 # Macro: integration-cleanup-worspace
319 # Operation: Cleans up files possibly left there by the previous build
320 # Used by: {project}-csit-* job templates
323 name: integration-cleanup-workspace
327 - include-raw-integration-cleanup-workspace.sh
329 # Macro: integration-rebase-patch
330 # Operation: For cloned project, rebase checked-out Gerrit patch onto $BRANCH.
331 # Used by: integration-patch-distribution-* job template
334 name: integration-rebase-gerrit-patch
338 - include-raw-integration-rebase-gerrit-patch.sh
344 # Macro: integration-robot
345 # Operation: this macro publishes robot results
346 # Used by: {project}-csit-* job templates
349 name: integration-robot
354 unstable-threshold: '{unstable-if}'
355 pass-threshold: '{pass-if}'