2 name: integration-branch
7 description: '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 gerrit from any project and uses the project 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-distribution-scm
83 # Operation: this macro downloads the integration/distribution repo and uses distribution as basedir
84 # Used by: {project}-csit-* and integration-patch-test-{stream} job templates
87 name: integration-distribution-scm
90 credentials-id: '{credentials-id}'
91 basedir: 'distribution'
98 # Macro: integration-patch-scm
99 # Operation: this macro downloads a test patch that can be used to debug in the sandbox
100 # Used by: {project}-csit-* job templates
103 name: integration-patch-scm
106 credentials-id: '{credentials-id}'
108 refspec: '$PATCHREFSPEC'
112 choosing-strategy: 'gerrit'
114 # Macro: integration-test-gerrit-trigger-patch-submitted
115 # Operation: this macro sets a trigger for patch submit on test/csit/suites/{project}/**
116 # Used by: {project}-verify-csit-* job templates
119 name: integration-test-gerrit-trigger-patch-submitted
122 server-name: 'OpenDaylight'
124 - patchset-created-event:
125 exclude-drafts: 'true'
126 exclude-trivial-rebase: 'false'
127 exclude-no-code-change: 'true'
128 - draft-published-event
129 - comment-added-contains-event:
130 comment-contains-value: 'recheck'
131 - comment-added-contains-event:
132 comment-contains-value: 'reverify'
134 - project-compare-type: 'ANT'
135 project-pattern: '{name}'
137 - branch-compare-type: 'ANT'
138 branch-pattern: '**/{branch}'
140 - compare-type: 'ANT'
141 pattern: 'test/csit/suites/{project}/**'
143 # Macro: integration-csit-gerrit-trigger-patch-submitted
144 # Operation: this macro sets a trigger for patch submit on test/csit/**
145 # Used by: integration-verify-csit-1node-{stream} job template
148 name: integration-csit-gerrit-trigger-patch-submitted
151 server-name: 'OpenDaylight'
153 - patchset-created-event:
154 exclude-drafts: 'true'
155 exclude-trivial-rebase: 'false'
156 exclude-no-code-change: 'true'
157 - draft-published-event
158 - comment-added-contains-event:
159 comment-contains-value: 'recheck'
160 - comment-added-contains-event:
161 comment-contains-value: 'reverify'
163 - project-compare-type: 'ANT'
164 project-pattern: '{name}'
166 - branch-compare-type: 'ANT'
167 branch-pattern: '**/{branch}'
169 - compare-type: 'ANT'
170 pattern: 'test/csit/**'
172 # Macro: integration-csit-gerrit-trigger-patch-merged
173 # Operation: this macro sets a trigger for patch merged on test/csit/**
174 # Used by: not used yet
177 name: integration-csit-gerrit-trigger-patch-merged
180 server-name: 'OpenDaylight'
182 - change-merged-event
183 - comment-added-contains-event:
184 comment-contains-value: 'remerge'
186 - project-compare-type: 'ANT'
187 project-pattern: '{name}'
189 - branch-compare-type: 'ANT'
190 branch-pattern: '**/{branch}'
192 - compare-type: 'ANT'
193 pattern: 'test/csit/**'
195 # Macro: integration-jclouds-controller-mininet
196 # Operation: this macro will spin the controller and mininet vms
197 # Used by: {project}-csit-* job templates
200 name: integration-jclouds-controller-mininet
205 cloud-name: 'Rackspace DFW - Integration Dynamic Lab'
206 count: '{controller-vms}'
207 stop-on-terminate: False
209 cloud-name: 'Rackspace DFW - Integration Dynamic Lab'
210 count: '{mininet-vms}'
211 stop-on-terminate: False
217 # Macro: integration-get-slave-addresses
218 # Operation: this macro gets the IP addresses of the dynamic vms
219 # Used by: {project}-csit-* job templates
222 name: integration-get-slave-addresses
225 !include-raw include-raw-integration-get-slave-addresses.sh
227 # Macro: integration-get-bundle-vars
228 # Operation: this macro gets all bundle related variables
229 # Used by: {project}-csit-3node-* job templates
232 name: integration-get-bundle-vars
235 !include-raw include-raw-integration-get-bundle-vars.sh
237 # Macro: integration-deply-controller-run-test
238 # Operation: this macro deployes single contoller and runs test
239 # Used by: {project}-csit-1node-* job templates
242 name: integration-deploy-controller-run-test
245 !include-raw include-raw-integration-deploy-controller-run-test.sh
247 # Macro: integration-deploy-controller
248 # Operation: this macro prepares 3-node cluster controller
249 # Used by: {project}-csit-3node-* job templates
252 name: integration-deploy-controller
255 !include-raw include-raw-integration-deploy-controller.sh
257 # Macro: integration-configure-clustering
258 # Operation: this macro configures the clustering
259 # Used by: {project}-csit-3node-* job templates
262 name: integration-configure-clustering
265 !include-raw include-raw-integration-configure-clustering.sh
267 # Macro: integration-start-cluster-run-test
268 # Operation: this macro starts the 3-node cluster and runs test
269 # Used by: {project}-csit-3node-* job templates
272 name: integration-start-cluster-run-test
275 !include-raw include-raw-integration-start-cluster-run-test.sh
277 # Macro: integration-deploy-controller-offline
278 # Operation: this macro deployes the controller with no external repo configuration
279 # Used by: integration-distrbution-offline-{stream} job template
282 name: integration-deploy-controller-offline
285 !include-raw include-raw-integration-deploy-controller-offline.sh
287 # Macro: integration-get-bundle-url
288 # Operation: this macro gets the distribution bundle URL
289 # Used by: integration-patch-test-{stream} job template
292 name: integration-get-bundle-url
295 !include-raw include-raw-integration-get-bundle-url.sh
301 # Macro: integration-robot
302 # Operation: this macro publishes robot results
303 # Used by: {project}-csit-* job templates
306 name: integration-robot
311 unstable-threshold: '{unstable-if}'
312 pass-threshold: '{pass-if}'