Add lispflowmapping to the list of csit jobs to be triggered for distribution test
[releng/builder.git] / jjb / integration / integration-jobs.yaml
1
2 - project:
3     name: integration-jobs
4     jobs:
5         - 'integration-csit-verify-{stream}'
6         - 'integration-distribution-verify-{stream}'
7         - 'integration-distribution-merge-{stream}'
8         - 'integration-distribution-offline-{stream}'
9         - 'integration-distribution-test-{stream}'
10         - 'integration-patch-test-{stream}'
11
12     stream:
13         - master:
14             branch: 'master'
15             csit-list: 'aaa-csit-1node-cds-authn-only-{stream},aaa-csit-1node-cds-authn-all-{stream},bgpcep-csit-1node-cds-userfeatures-only-{stream},bgpcep-csit-1node-cds-userfeatures-all-{stream},controller-csit-1node-cds-netconf-only-{stream},controller-csit-1node-cds-netconf-all-{stream},l2switch-csit-1node-cds-switch-only-{stream},l2switch-csit-1node-cds-switch-all-{stream},l2switch-csit-1node-cds-scalability-only-{stream},l2switch-csit-1node-cds-scalability-all-{stream},lispflowmapping-csit-1node-cds-all-only-master,lispflowmapping-csit-1node-cds-all-all-master,openflowplugin-csit-1node-cds-flow-services-only-{stream},openflowplugin-csit-1node-cds-flow-services-all-{stream},openflowplugin-csit-1node-cds-flow-services-more-only-{stream},openflowplugin-csit-1node-cds-flow-services-more-all-{stream},openflowplugin-csit-1node-cds-scalability-only-{stream},openflowplugin-csit-1node-cds-scalability-all-{stream},openflowplugin-csit-1node-cds-cbench-performance-only-{stream},openflowplugin-csit-1node-cds-config-performance-only-{stream},snmp-csit-1node-cds-basic-only-{stream},snmp-csit-1node-cds-basic-all-{stream},tsdr-csit-1node-cds-h2-datastore-only-{stream},tsdr-csit-1node-cds-h2-datastore-all-{stream},tsdr-csit-1node-cds-hbase-datastore-only-{stream},tsdr-csit-1node-cds-hbase-datastore-all-{stream},vpnservice-csit-1node-cds-vpnservice-only-{stream},vpnservice-csit-1node-cds-vpnservice-all-{stream},vtn-csit-1node-cds-manager-only-{stream},vtn-csit-1node-cds-manager-all-{stream}'
16
17         - stable-lithium:
18             branch: 'stable/lithium'
19             csit-list: 'aaa-csit-1node-cds-authn-only-{stream},aaa-csit-1node-cds-authn-all-{stream},bgpcep-csit-1node-cds-userfeatures-only-{stream},bgpcep-csit-1node-cds-userfeatures-all-{stream},controller-csit-1node-cds-netconf-only-{stream},controller-csit-1node-cds-netconf-all-{stream},l2switch-csit-1node-cds-switch-only-{stream},l2switch-csit-1node-cds-switch-all-{stream},l2switch-csit-1node-cds-scalability-only-{stream},l2switch-csit-1node-cds-scalability-all-{stream},lispflowmapping-csit-1node-cds-all-only-stable-lithium,lispflowmapping-csit-1node-cds-all-all-stable-lithium,openflowplugin-csit-1node-cds-flow-services-only-{stream},openflowplugin-csit-1node-cds-flow-services-all-{stream},openflowplugin-csit-1node-cds-flow-services-more-only-{stream},openflowplugin-csit-1node-cds-flow-services-more-all-{stream},openflowplugin-csit-1node-cds-scalability-only-{stream},openflowplugin-csit-1node-cds-scalability-all-{stream},openflowplugin-csit-1node-cds-cbench-performance-only-{stream},openflowplugin-csit-1node-cds-config-performance-only-{stream},snmp-csit-1node-cds-basic-only-{stream},snmp-csit-1node-cds-basic-all-{stream},tsdr-csit-1node-cds-h2-datastore-only-{stream},tsdr-csit-1node-cds-h2-datastore-all-{stream},tsdr-csit-1node-cds-hbase-datastore-only-{stream},tsdr-csit-1node-cds-hbase-datastore-all-{stream},vpnservice-csit-1node-cds-vpnservice-only-{stream},vpnservice-csit-1node-cds-vpnservice-all-{stream},vtn-csit-1node-cds-manager-only-{stream},vtn-csit-1node-cds-manager-all-{stream}'
20
21         - stable-helium:
22             branch: 'stable/helium'
23             csit-list: 'controller-csit-1node-imds-nsf-only-{stream},controller-csit-1node-imds-nsf-all-{stream},controller-csit-1node-imds-netconf-only-{stream},controller-csit-1node-imds-netconf-all-{stream},aaa-csit-1node-imds-authn-only-{stream},aaa-csit-1node-imds-authn-all-{stream},openflowplugin-csit-1node-imds-flow-services-only-{stream},openflowplugin-csit-1node-imds-flow-services-all-{stream},l2switch-csit-1node-imds-switch-only-{stream},l2switch-csit-1node-imds-switch-all-{stream},vtn-csit-1node-imds-manager-only-{stream},vtn-csit-1node-imds-manager-all-{stream},lispflowmapping-csit-1node-imds-all-only-{stream},lispflowmapping-csit-1node-imds-all-all-{stream}'
24
25     jdk: 'openjdk7'
26
27 # For the Job templates below replace instances of:
28 # PROJECT with your project name (eg. controller)
29 # MAVEN_GOALS with your maven goals to build
30 # MAVEN_OPTS with your maven options to build
31
32 - job-template:
33     name: 'integration-csit-verify-{stream}'
34
35     project-type: freestyle
36     node: dynamic_robot
37
38     logrotate:
39         daysToKeep: '{build-days-to-keep}'
40         numToKeep: '{build-num-to-keep}'
41         artifactDaysToKeep: '{build-artifact-days-to-keep}'
42         artifactNumToKeep: '{build-artifact-num-to-keep}'
43
44     parameters:
45         - project-parameter:
46             project: 'integration'
47         - integration-branch:
48             branch: '{branch}'
49         - integration-bundleurl:
50             bundleurl: 'last'
51         - integration-controller-scope:
52             controller-scope: 'only'
53         - integration-controller-features:
54             controller-features: 'odl-openflowplugin-flow-services-ui'
55         - integration-test-options:
56             test-options: '-e adsal'
57         - integration-test-plan:
58             test-plan: 'openflowplugin-flow-services.txt'
59
60     scm:
61         - gerrit-trigger-scm:
62             credentials-id: '{ssh-credentials}'
63             refspec: '$GERRIT_REFSPEC'
64             choosing-strategy: 'gerrit'
65
66     wrappers:
67         - build-timeout
68         - integration-jclouds-controller-mininet:
69             controller-vms: 1
70             mininet-vms: 1
71         - ssh-agent-credentials:
72             users:
73                 - '{ssh-credentials}'
74
75     triggers:
76         - integration-csit-gerrit-trigger-patch-submitted:
77             name: 'integration'
78             branch: '{branch}'
79
80     builders:
81         - integration-get-slave-addresses
82         - inject:
83             properties-file: 'slave_addresses.txt'
84         - integration-deploy-controller-run-test
85
86     publishers:
87         - integration-robot:
88             unstable-if: 0.0
89             pass-if: 0.0
90         - archive:
91             artifacts: 'karaf.log'
92         - email-notification:
93             email-prefix: '[integration]'
94
95 - job-template:
96     name: 'integration-distribution-verify-{stream}'
97
98     project-type: maven
99     node: dynamic_verify
100     concurrent: true
101     jdk: '{jdk}'
102
103     logrotate:
104         daysToKeep: '{build-days-to-keep}'
105         numToKeep: '{build-num-to-keep}'
106         artifactDaysToKeep: '{build-artifact-days-to-keep}'
107         artifactNumToKeep: '{build-artifact-num-to-keep}'
108
109     parameters:
110         - project-parameter:
111             project: 'integration'
112         - gerrit-parameter:
113             branch: '{branch}'
114
115     scm:
116         - gerrit-trigger-scm:
117             credentials-id: '{ssh-credentials}'
118             refspec: '$GERRIT_REFSPEC'
119             choosing-strategy: 'gerrit'
120
121     wrappers:
122         - build-timeout
123         - ssh-agent-credentials:
124             users:
125                 - '{ssh-credentials}'
126
127     triggers:
128         - integration-distribution-gerrit-trigger-patch-submitted:
129             name: 'integration'
130             branch: '{branch}'
131
132     prebuilders:
133         - wipe-org-opendaylight-repo
134
135     maven:
136         maven-name: '{mvn32}'
137         root-pom: 'pom.xml'
138         goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
139         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
140         settings: '{integration-settings}'
141         global-settings: '{odl-global-settings}'
142         ignore-upstream-changes: true
143
144     publishers:
145         - email-notification:
146             email-prefix: '[integration]'
147
148 - job-template:
149     name: 'integration-distribution-merge-{stream}'
150
151     project-type: maven
152     node: dynamic_merge
153     jdk: '{jdk}'
154
155     logrotate:
156         daysToKeep: '{build-days-to-keep}'
157         numToKeep: '{build-num-to-keep}'
158         artifactDaysToKeep: '{build-artifact-days-to-keep}'
159         artifactNumToKeep: '{build-artifact-num-to-keep}'
160
161     parameters:
162         - project-parameter:
163             project: 'integration'
164
165     scm:
166         - gerrit-trigger-scm:
167             credentials-id: '{ssh-credentials}'
168             refspec: ''
169             choosing-strategy: 'default'
170
171     wrappers:
172         - build-timeout
173         - ssh-agent-credentials:
174             users:
175                 - '{ssh-credentials}'
176
177     triggers:
178         - integration-distribution-gerrit-trigger-patch-merged:
179             name: 'integration'
180             branch: '{branch}'
181
182     prebuilders:
183         - wipe-org-opendaylight-repo
184
185     maven:
186         maven-name: '{mvn32}'
187         root-pom: 'pom.xml'
188         goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
189         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
190         settings: '{integration-settings}'
191         global-settings: '{odl-global-settings}'
192
193     publishers:
194         - email-notification:
195             email-prefix: '[integration]'
196         - maven-deploy:
197             id: ''
198             unique-version: true
199             deploy-unstable: false
200
201 - job-template:
202     name: 'integration-distribution-offline-{stream}'
203
204     project-type: freestyle
205     node: dynamic_controller
206
207     logrotate:
208         daysToKeep: '{build-days-to-keep}'
209         numToKeep: '{build-num-to-keep}'
210         artifactDaysToKeep: '{build-artifact-days-to-keep}'
211         artifactNumToKeep: '{build-artifact-num-to-keep}'
212
213     parameters:
214         - project-parameter:
215             project: 'integration'
216         - integration-branch:
217             branch: '{branch}'
218         - integration-bundleurl:
219             bundleurl: 'last'
220
221     scm:
222         - git-scm:
223             credentials-id: '{ssh-credentials}'
224             refspec: ''
225             branch: '{branch}'
226
227     wrappers:
228         - build-timeout
229         - ssh-agent-credentials:
230             users:
231                 - '{ssh-credentials}'
232
233     triggers:
234         - timed: 'H H * * *'
235
236     builders:
237         - integration-deploy-controller-offline
238
239     publishers:
240         - archive:
241             artifacts: 'karaf.log'
242         - email-notification:
243             email-prefix: '[integration]'
244
245 - job-template:
246     name: 'integration-distribution-test-{stream}'
247
248     project-type: freestyle
249     node: dynamic_controller
250
251     logrotate:
252         daysToKeep: '{build-days-to-keep}'
253         numToKeep: '{build-num-to-keep}'
254         artifactDaysToKeep: '{build-artifact-days-to-keep}'
255         artifactNumToKeep: '{build-artifact-num-to-keep}'
256
257     parameters:
258         - integration-bundleurl:
259             bundleurl: 'last'
260
261     triggers:
262         - timed: 'H H * * *'
263
264     builders:
265         - trigger-builds:
266             - project: '{csit-list}'
267               block: true
268               predefined-parameters:
269                   BUNDLEURL=$BUNDLEURL
270
271     publishers:
272         - email-notification:
273             email-prefix: '[integration]'
274
275 - job-template:
276     name: 'integration-patch-test-{stream}'
277
278     project-type: maven
279     node: dynamic_verify
280     jdk: '{jdk}'
281
282     logrotate:
283         daysToKeep: '{build-days-to-keep}'
284         numToKeep: '{build-num-to-keep}'
285         artifactDaysToKeep: '{build-artifact-days-to-keep}'
286         artifactNumToKeep: '{build-artifact-num-to-keep}'
287
288     parameters:
289         - project-parameter:
290             project: 'integration'
291         - integration-patch-git-url
292
293     scm:
294         - integration-gerrit-scm:
295             credentials-id: '{ssh-credentials}'
296             branch: '{branch}'
297         - integration-git-scm:
298             credentials-id: '{ssh-credentials}'
299             branch: '{branch}'
300
301     wrappers:
302         - build-timeout
303         - ssh-agent-credentials:
304             users:
305                 - '{ssh-credentials}'
306
307     triggers:
308         - gerrit:
309             server-name: 'OpenDaylight'
310             trigger-on:
311                 - comment-added-contains-event:
312                     comment-contains-value: 'test-integration'
313             projects:
314               - project-compare-type: 'ANT'
315                 project-pattern: '**'
316                 branches:
317                   - branch-compare-type: 'ANT'
318                     branch-pattern: '**/{branch}'
319             skip-vote:
320                 successful: true
321                 failed: true
322                 unstable: true
323                 notbuilt: true
324
325     prebuilders:
326         - integration-get-bundle-url
327         - inject:
328             properties-file: 'bundle.txt'
329         - wipe-org-opendaylight-repo
330         - maven-target:
331             maven-version: '{mvn32}'
332             pom: '$GERRIT_PROJECT/pom.xml'
333             goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
334             java-opts:
335                 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
336             settings: '{integration-settings}'
337             global-settings: '{odl-global-settings}'
338
339     maven:
340         maven-name: '{mvn32}'
341         root-pom: 'integration/pom.xml'
342         goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
343         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
344         settings: '{integration-settings}'
345         global-settings: '{odl-global-settings}'
346         ignore-upstream-changes: true
347
348     postbuilders:
349         - trigger-builds:
350             - project: 'integration-distribution-test-{stream}'
351               block: true
352               predefined-parameters:
353                   BUNDLEURL=$BUNDLEURL
354
355     publishers:
356         - email-notification:
357             email-prefix: '[integration]'
358