Merge "Activate jdk8 verification for openflowplugin"
[releng/builder.git] / jjb / integration / integration-templates.yaml
1 - job-template:
2     name: '{project}-distribution-{stream}'
3
4     project-type: maven
5     node: dynamic_merge
6     jdk: '{jdk}'
7
8     logrotate:
9         daysToKeep: '{build-days-to-keep}'
10         numToKeep: '{build-num-to-keep}'
11         artifactDaysToKeep: '{build-artifact-days-to-keep}'
12         artifactNumToKeep: '{build-artifact-num-to-keep}'
13
14     parameters:
15         - project-parameter:
16             project: 'integration'
17
18     scm:
19         - git-scm:
20             credentials-id: '{ssh-credentials}'
21             refspec: ''
22             branch: '{branch}'
23
24     wrappers:
25         - build-timeout
26         - ssh-agent-credentials:
27             user: '{ssh-credentials}'
28
29     triggers:
30         - reverse:
31             jobs: '{project}-merge-{stream}'
32             result: 'success'
33
34     prebuilders:
35         - wipe-org-opendaylight-repo
36
37     maven:
38         maven-name: '{mvn32}'
39         root-pom: 'pom.xml'
40         goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
41         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
42         settings: '{integration-settings}'
43         global-settings: '{odl-global-settings}'
44
45     publishers:
46         - email-notification:
47             email-prefix: '[{project}]'
48         - maven-deploy:
49             id: ''
50             unique-version: true
51             deploy-unstable: false
52
53 - job-template:
54     name: '{project}-csit-verify-{functionality}-{stream}'
55
56     project-type: freestyle
57     node: dynamic_robot
58
59     logrotate:
60         daysToKeep: '{build-days-to-keep}'
61         numToKeep: '{build-num-to-keep}'
62         artifactDaysToKeep: '{build-artifact-days-to-keep}'
63         artifactNumToKeep: '{build-artifact-num-to-keep}'
64
65     parameters:
66         - project-parameter:
67             project: 'integration'
68         - integration-branch:
69             branch: '{branch}'
70         - integration-bundleurl:
71             bundleurl: 'last'
72         - integration-controller-scope:
73             controller-scope: 'only'
74         - integration-controller-features:
75             controller-features: '{install-features}'
76         - integration-test-options:
77             test-options: '{robot-options}'
78         - integration-test-plan:
79             test-plan: '{project}-{functionality}.txt'
80
81     scm:
82         - gerrit-trigger-scm:
83             credentials-id: '{ssh-credentials}'
84             refspec: '$GERRIT_REFSPEC'
85             choosing-strategy: 'gerrit'
86
87     wrappers:
88         - build-timeout
89         - integration-jclouds-controller-mininet:
90             controller-vms: 1
91             mininet-vms: 1
92         - ssh-agent-credentials:
93             user: '{ssh-credentials}'
94
95     triggers:
96         - integration-test-gerrit-trigger-patch-submitted:
97             name: 'integration'
98             branch: '{branch}'
99             project: '{project}'
100
101     builders:
102         - integration-get-slave-addresses
103         - inject:
104             properties-file: 'slave_addresses.txt'
105         - integration-deploy-controller-run-test
106
107     publishers:
108         - integration-robot:
109             unstable-if: 97.0
110             pass-if: 97.0
111         - archive:
112             artifacts: 'karaf.log'
113         - email-notification:
114             email-prefix: '[{project}]'
115
116 - job-template:
117     name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}'
118
119     project-type: freestyle
120     node: dynamic_robot
121
122     logrotate:
123         daysToKeep: '{build-days-to-keep}'
124         numToKeep: '{build-num-to-keep}'
125         artifactDaysToKeep: '{build-artifact-days-to-keep}'
126         artifactNumToKeep: '{build-artifact-num-to-keep}'
127
128     parameters:
129         - project-parameter:
130             project: 'integration'
131         - integration-branch:
132             branch: '{branch}'
133         - integration-bundleurl:
134             bundleurl: 'last'
135         - integration-controller-scope:
136             controller-scope: '{scope}'
137         - integration-controller-features:
138             controller-features: '{install-features}'
139         - integration-test-options:
140             test-options: '{robot-options}'
141         - integration-test-plan:
142             test-plan: '{project}-{functionality}.txt'
143
144     scm:
145         - git-scm:
146             credentials-id: '{ssh-credentials}'
147             refspec: ''
148             branch: '{branch}'
149
150     wrappers:
151         - build-timeout
152         - integration-jclouds-controller-mininet:
153             controller-vms: 1
154             mininet-vms: 1
155         - ssh-agent-credentials:
156             user: '{ssh-credentials}'
157
158     triggers:
159         - reverse:
160             jobs: '{trigger-jobs}'
161             result: 'success'
162
163     builders:
164         - integration-get-slave-addresses
165         - inject:
166             properties-file: 'slave_addresses.txt'
167         - integration-deploy-controller-run-test
168
169     publishers:
170         - integration-robot:
171             unstable-if: 97.0
172             pass-if: 100.0
173         - archive:
174             artifacts: 'karaf.log'
175         - email-notification:
176             email-prefix: '[{project}]'
177         - plot:
178           - title: '{01-plot-title}'
179             yaxis: '{01-plot-yaxis}'
180             group: '{01-plot-group}'
181             num-builds: ''
182             style: line
183             use-description: false
184             series:
185               - file: '{01-plot-data-file}'
186                 inclusion-flag: 'off'
187                 display-table: true
188                 format: csv
189           - title: '{02-plot-title}'
190             yaxis: '{02-plot-yaxis}'
191             group: '{02-plot-group}'
192             num-builds: ''
193             style: line
194             use-description: false
195             series:
196               - file: '{02-plot-data-file}'
197                 inclusion-flag: 'off'
198                 display-table: true
199                 format: csv
200
201 - job-template:
202     name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
203
204     project-type: freestyle
205     node: dynamic_robot
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         - integration-controller-scope:
221             controller-scope: '{scope}'
222         - integration-controller-features:
223             controller-features: '{install-features}'
224         - integration-test-options:
225             test-options: '{robot-options}'
226         - integration-test-plan:
227             test-plan: '{project}-{functionality}.txt'
228
229     scm:
230         - git-scm:
231             credentials-id: '{ssh-credentials}'
232             refspec: ''
233             branch: '{branch}'
234
235     wrappers:
236         - build-timeout
237         - integration-jclouds-controller-mininet:
238             controller-vms: 1
239             mininet-vms: 1
240         - ssh-agent-credentials:
241             user: '{ssh-credentials}'
242
243     triggers:
244         - reverse:
245             jobs: '{trigger-jobs}'
246             result: 'success'
247
248     builders:
249         - integration-get-slave-addresses
250         - inject:
251             properties-file: 'slave_addresses.txt'
252         - integration-deploy-controller-run-test
253
254     publishers:
255         - integration-robot:
256             unstable-if: 97.0
257             pass-if: 100.0
258         - archive:
259             artifacts: 'karaf.log'
260         - email-notification:
261             email-prefix: '[{project}]'
262         - plot:
263           - title: '{01-plot-title}'
264             yaxis: '{01-plot-yaxis}'
265             group: '{01-plot-group}'
266             num-builds: ''
267             style: line
268             use-description: false
269             series:
270               - file: '{01-plot-data-file}'
271                 inclusion-flag: 'off'
272                 display-table: true
273                 format: csv
274           - title: '{02-plot-title}'
275             yaxis: '{02-plot-yaxis}'
276             group: '{02-plot-group}'
277             num-builds: ''
278             style: line
279             use-description: false
280             series:
281               - file: '{02-plot-data-file}'
282                 inclusion-flag: 'off'
283                 display-table: true
284                 format: csv