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