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
183 !include-raw include-raw-integration-get-slave-addresses.sh
185 # Macro: integration-get-bundle-vars
186 # Operation: this macro gets all bundle related variables
187 # Used by: {project}-csit-3node-* job templates
190 name: integration-get-bundle-vars
193 !include-raw include-raw-integration-get-bundle-vars.sh
195 # Macro: integration-deploy-controller-verify
196 # Operation: this macro deploys the controller with all fetures
197 # Used by: integration-distrbution-deploy-{stream} job template
200 name: integration-deploy-controller-verify
203 !include-raw include-raw-integration-deploy-controller-verify.sh
205 # Macro: integration-deploy-controller-offline
206 # Operation: this macro deploys the controller with no external repo configuration
207 # Used by: integration-distrbution-offline-{stream} job template
210 name: integration-deploy-controller-offline
213 !include-raw include-raw-integration-deploy-controller-offline.sh
215 # Macro: integration-deply-controller-run-test
216 # Operation: this macro deploys single contoller and runs test
217 # Used by: {project}-csit-1node-* job templates
220 name: integration-deploy-controller-run-test
223 !include-raw include-raw-integration-deploy-controller-run-test.sh
225 # Macro: integration-deploy-controller
226 # Operation: this macro prepares 3-node cluster controller
227 # Used by: {project}-csit-3node-* job templates
230 name: integration-deploy-controller
233 !include-raw include-raw-integration-deploy-controller.sh
235 # Macro: integration-configure-clustering
236 # Operation: this macro configures the clustering
237 # Used by: {project}-csit-3node-* job templates
240 name: integration-configure-clustering
243 !include-raw include-raw-integration-configure-clustering.sh
245 # Macro: integration-start-cluster-run-test
246 # Operation: this macro starts the 3-node cluster and runs test
247 # Used by: {project}-csit-3node-* job templates
250 name: integration-start-cluster-run-test
253 !include-raw include-raw-integration-start-cluster-run-test.sh
255 # Macro: integration-get-bundle-url
256 # Operation: this macro gets the job generated distribution URL from distribution pom.xml
257 # Used by: integration-patch-test-{stream} job template
260 name: integration-get-bundle-url
263 !include-raw include-raw-integration-get-bundle-url.sh
265 # Macro: integration-get-bundle-url-root
266 # Operation: this macro gets the job generated distribution URL from root pom.xml
267 # Used by: integration-distribution-verify-{stream} job template
270 name: integration-get-bundle-url-root
273 !include-raw include-raw-integration-get-bundle-url-root.sh
275 # Macro: integration-install-robotframework
276 # Operation: Installs robotframework using pip to a virtualenv
277 # Used by: {project}-csit-* job templates
280 name: integration-install-robotframework
283 !include-raw include-raw-integration-install-robotframework.sh
285 # Macro: integration-cleanup-tmp
286 # Operation: Cleans up temporary files created by build
287 # Used by: {project}-csit-* job templates
290 name: integration-cleanup-tmp
293 !include-raw include-raw-integration-cleanup-tmp.sh
295 # Macro: integration-multipatch-builder
296 # Operation: checks out multiple patches and builds custom distribution
297 # Used by: integration-multipatch-test-* job templates
300 name: integration-multipatch-builder
303 !include-raw include-raw-integration-multipatch-distribution-test.sh
305 # Macro: integration-cleanup-worspace
306 # Operation: Cleans up files possibly left there by the previous build
307 # Used by: {project}-csit-* job templates
310 name: integration-cleanup-workspace
313 !include-raw include-raw-integration-cleanup-workspace.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}'