Keeping 6-ish months worth of plot data
[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             users:
28                 - '{ssh-credentials}'
29
30     triggers:
31         - reverse:
32             jobs: '{project}-merge-{stream}'
33             result: 'success'
34
35     prebuilders:
36         - wipe-org-opendaylight-repo
37
38     maven:
39         maven-name: '{mvn32}'
40         root-pom: 'pom.xml'
41         goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
42         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
43         settings: '{integration-settings}'
44         global-settings: '{odl-global-settings}'
45
46     publishers:
47         - email-notification:
48             email-prefix: '[{project}]'
49         - maven-deploy:
50             id: ''
51             unique-version: true
52             deploy-unstable: false
53
54 - job-template:
55     name: '{project}-csit-verify-{functionality}-{stream}'
56
57     project-type: freestyle
58     node: dynamic_robot
59
60     logrotate:
61         daysToKeep: '{build-days-to-keep}'
62         numToKeep: '{build-num-to-keep}'
63         artifactDaysToKeep: '{build-artifact-days-to-keep}'
64         artifactNumToKeep: '{build-artifact-num-to-keep}'
65
66     parameters:
67         - project-parameter:
68             project: 'integration'
69         - integration-branch:
70             branch: '{branch}'
71         - integration-bundleurl:
72             bundleurl: 'last'
73         - integration-controller-scope:
74             controller-scope: 'only'
75         - integration-controller-features:
76             controller-features: '{install-features}'
77         - integration-test-options:
78             test-options: '{robot-options}'
79         - integration-test-plan:
80             test-plan: '{project}-{functionality}.txt'
81
82     scm:
83         - gerrit-trigger-scm:
84             credentials-id: '{ssh-credentials}'
85             refspec: '$GERRIT_REFSPEC'
86             choosing-strategy: 'gerrit'
87
88     wrappers:
89         - build-timeout
90         - integration-jclouds-controller-mininet:
91             controller-vms: 1
92             mininet-vms: 1
93         - ssh-agent-credentials:
94             users:
95                 - '{ssh-credentials}'
96
97     triggers:
98         - integration-test-gerrit-trigger-patch-submitted:
99             name: 'integration'
100             branch: '{branch}'
101             project: '{project}'
102
103     builders:
104         - integration-get-slave-addresses
105         - inject:
106             properties-file: 'slave_addresses.txt'
107         - integration-deploy-controller-run-test
108
109     publishers:
110         - integration-robot:
111             unstable-if: 95.0
112             pass-if: 95.0
113         - archive:
114             artifacts: 'karaf.log'
115         - email-notification:
116             email-prefix: '[{project}]'
117
118 - job-template:
119     name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}'
120
121     project-type: freestyle
122     node: dynamic_robot
123
124     logrotate:
125         daysToKeep: '{build-days-to-keep}'
126         numToKeep: '{build-num-to-keep}'
127         artifactDaysToKeep: '{build-artifact-days-to-keep}'
128         artifactNumToKeep: '{build-artifact-num-to-keep}'
129
130     parameters:
131         - project-parameter:
132             project: 'integration'
133         - integration-branch:
134             branch: '{branch}'
135         - integration-bundleurl:
136             bundleurl: 'last'
137         - integration-controller-scope:
138             controller-scope: '{scope}'
139         - integration-controller-features:
140             controller-features: '{install-features}'
141         - integration-test-options:
142             test-options: '{robot-options}'
143         - integration-test-plan:
144             test-plan: '{project}-{functionality}.txt'
145
146     scm:
147         - git-scm:
148             credentials-id: '{ssh-credentials}'
149             refspec: ''
150             branch: '{branch}'
151
152     wrappers:
153         - build-timeout
154         - integration-jclouds-controller-mininet:
155             controller-vms: 1
156             mininet-vms: 1
157         - ssh-agent-credentials:
158             users:
159                 - '{ssh-credentials}'
160
161     triggers:
162         - reverse:
163             jobs: '{trigger-jobs}'
164             result: 'success'
165
166     builders:
167         - integration-get-slave-addresses
168         - inject:
169             properties-file: 'slave_addresses.txt'
170         - integration-deploy-controller-run-test
171
172     publishers:
173         - integration-robot:
174             unstable-if: 95.0
175             pass-if: 100.0
176         - archive:
177             artifacts: 'karaf.log'
178         - email-notification:
179             email-prefix: '[{project}]'
180         - plot:
181           - title: '{01-plot-title}'
182             yaxis: '{01-plot-yaxis}'
183             group: '{01-plot-group}'
184             num-builds: '5400'
185             style: line
186             use-description: false
187             csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
188             series:
189               - file: '{01-plot-data-file}'
190                 inclusion-flag: 'off'
191                 display-table: true
192                 format: csv
193           - title: '{02-plot-title}'
194             yaxis: '{02-plot-yaxis}'
195             group: '{02-plot-group}'
196             num-builds: '5400'
197             style: line
198             use-description: false
199             csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
200             series:
201               - file: '{02-plot-data-file}'
202                 inclusion-flag: 'off'
203                 display-table: true
204                 format: csv
205
206 - job-template:
207     name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
208
209     project-type: freestyle
210     node: dynamic_robot
211
212     logrotate:
213         daysToKeep: '{build-days-to-keep}'
214         numToKeep: '{build-num-to-keep}'
215         artifactDaysToKeep: '{build-artifact-days-to-keep}'
216         artifactNumToKeep: '{build-artifact-num-to-keep}'
217
218     parameters:
219         - project-parameter:
220             project: 'integration'
221         - integration-branch:
222             branch: '{branch}'
223         - integration-bundleurl:
224             bundleurl: 'last'
225         - integration-controller-scope:
226             controller-scope: '{scope}'
227         - integration-controller-features:
228             controller-features: '{install-features}'
229         - integration-test-options:
230             test-options: '{robot-options}'
231         - integration-test-plan:
232             test-plan: '{project}-{functionality}.txt'
233
234     scm:
235         - git-scm:
236             credentials-id: '{ssh-credentials}'
237             refspec: ''
238             branch: '{branch}'
239
240     wrappers:
241         - build-timeout
242         - integration-jclouds-controller-mininet:
243             controller-vms: 1
244             mininet-vms: 1
245         - ssh-agent-credentials:
246             users:
247                 - '{ssh-credentials}'
248
249     triggers:
250         - reverse:
251             jobs: '{trigger-jobs}'
252             result: 'success'
253
254     builders:
255         - integration-get-slave-addresses
256         - inject:
257             properties-file: 'slave_addresses.txt'
258         - integration-deploy-controller-run-test
259
260     publishers:
261         - integration-robot:
262             unstable-if: 95.0
263             pass-if: 100.0
264         - archive:
265             artifacts: 'karaf.log'
266         - email-notification:
267             email-prefix: '[{project}]'
268         - plot:
269           - title: '{01-plot-title}'
270             yaxis: '{01-plot-yaxis}'
271             group: '{01-plot-group}'
272             num-builds: '5400'
273             style: line
274             use-description: false
275             csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
276             series:
277               - file: '{01-plot-data-file}'
278                 inclusion-flag: 'off'
279                 display-table: true
280                 format: csv
281           - title: '{02-plot-title}'
282             yaxis: '{02-plot-yaxis}'
283             group: '{02-plot-group}'
284             num-builds: '5400'
285             style: line
286             use-description: false
287             csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
288             series:
289               - file: '{02-plot-data-file}'
290                 inclusion-flag: 'off'
291                 display-table: true
292                 format: csv
293
294 - job-template:
295     name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}'
296
297     project-type: freestyle
298     node: dynamic_robot
299
300     logrotate:
301         daysToKeep: '{build-days-to-keep}'
302         numToKeep: '{build-num-to-keep}'
303         artifactDaysToKeep: '{build-artifact-days-to-keep}'
304         artifactNumToKeep: '{build-artifact-num-to-keep}'
305
306     parameters:
307         - project-parameter:
308             project: 'integration'
309         - integration-branch:
310             branch: '{branch}'
311         - integration-bundleurl:
312             bundleurl: 'last'
313         - integration-controller-scope:
314             controller-scope: '{scope}'
315         - integration-controller-features:
316             controller-features: '{install-features}'
317         - integration-test-options:
318             test-options: '{robot-options}'
319         - integration-test-plan:
320             test-plan: '{project}-{functionality}.txt'
321
322     scm:
323         - git-scm:
324             credentials-id: '{ssh-credentials}'
325             refspec: ''
326             branch: '{branch}'
327
328     wrappers:
329         - build-timeout
330         - integration-jclouds-controller-mininet:
331             controller-vms: 1
332             mininet-vms: 1
333         - ssh-agent-credentials:
334             users:
335                 - '{ssh-credentials}'
336
337     triggers:
338         - timed: '{schedule}'
339
340     builders:
341         - integration-get-slave-addresses
342         - inject:
343             properties-file: 'slave_addresses.txt'
344         - integration-deploy-controller-run-test
345
346     publishers:
347         - integration-robot:
348             unstable-if: 95.0
349             pass-if: 100.0
350         - archive:
351             artifacts: 'karaf.log'
352         - email-notification:
353             email-prefix: '[{project}]'
354         - plot:
355           - title: '{01-plot-title}'
356             yaxis: '{01-plot-yaxis}'
357             group: '{01-plot-group}'
358             num-builds: '180'
359             style: line
360             use-description: false
361             csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
362             series:
363               - file: '{01-plot-data-file}'
364                 inclusion-flag: 'off'
365                 display-table: true
366                 format: csv
367           - title: '{02-plot-title}'
368             yaxis: '{02-plot-yaxis}'
369             group: '{02-plot-group}'
370             num-builds: '180'
371             style: line
372             use-description: false
373             csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
374             series:
375               - file: '{02-plot-data-file}'
376                 inclusion-flag: 'off'
377                 display-table: true
378                 format: csv
379