Merge "Update automated project templates"
[releng/builder.git] / jjb / ovsdb / ovsdb.yaml
1 # REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW
2 # Otherwise this file will be automatically overwritten by the template
3 # autobuilder.
4
5 # ODL Releng build templates
6 - project:
7     name: ovsdb
8     jobs:
9         - 'ovsdb-verify-{stream}'
10         - 'ovsdb-merge-{stream}'
11         - 'ovsdb-daily-{stream}'
12         - 'ovsdb-integration-{stream}'
13
14
15     # stream:    branch with - in place of / (eg. stable-helium)
16     # branch:    branch (eg. stable/helium)
17     stream:
18         - master:
19             branch: 'master'
20         - stable-helium:
21             branch: 'stable/helium'
22
23     project: 'ovsdb'
24     jdk: 'openjdk7'
25
26 # For the Job templates below replace instances of:
27 # PROJECT with your project name (eg. controller)
28 # MAVEN_GOALS with your maven goals to build
29 # MAVEN_OPTS with your maven options to build
30
31 - job-template:
32     name: 'ovsdb-verify-{stream}'
33
34     # Job template for ODL verify jobs
35     #
36     # The purpose of this job template is to setup a ODL verify job
37     #
38     # Required Variables:
39     #     stream:    branch with - in place of / (eg. stable-helium)
40     #     branch:    branch (eg. stable/helium)
41
42     project-type: matrix
43     node: matrix_master
44     concurrent: true
45
46     axes:
47         - axis:
48             type: slave
49             name: nodes
50             values:
51                 - dynamic_verify
52         - axis:
53             type: jdk
54             values:
55                 - openjdk7
56
57
58     logrotate:
59         daysToKeep: '{build-days-to-keep}'
60         numToKeep: '{build-num-to-keep}'
61         artifactDaysToKeep: '{build-artifact-days-to-keep}'
62         artifactNumToKeep: '{build-artifact-num-to-keep}'
63
64     parameters:
65         - project-parameter:
66             project: '{project}'
67         - gerrit-parameter:
68             branch: '{branch}'
69
70     scm:
71         - gerrit-trigger-scm:
72             credentials-id: '{ssh-credentials}'
73             refspec: '$GERRIT_REFSPEC'
74             choosing-strategy: 'gerrit'
75
76     wrappers:
77         - build-timeout
78         - ssh-agent-credentials:
79             user: '{ssh-credentials}'
80
81     triggers:
82         - gerrit-trigger-patch-submitted:
83             name: 'ovsdb'
84             branch: '{branch}'
85
86     builders:
87         - wipe-org-opendaylight-repo
88         - maven-target:
89             maven-version: '{mvn32}'
90             pom: 'pom.xml'
91             goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
92             java-opts:
93                 - '-Xmx1024m -XX:MaxPermSize=256m'
94             settings: '{ovsdb-settings}'
95             global-settings: '{odl-global-settings}'
96         - jacoco-nojava-workaround
97
98     publishers:
99         - email-notification:
100             email-prefix: '[ovsdb]'
101         - jacoco-report
102
103 - job-template:
104     name: 'ovsdb-merge-{stream}'
105
106     # Job template for ODL merge jobs
107     #
108     # The purpose of this job template is to setup a ODL merge job
109     # and deploy artifacts to Nexus.
110     #
111     # Required Variables:
112     #     stream:    branch with - in place of / (eg. stable-helium)
113     #     branch:    branch (eg. stable/helium)
114
115     project-type: maven
116     node: dynamic_merge
117     jdk: '{jdk}'
118
119     logrotate:
120         daysToKeep: '{build-days-to-keep}'
121         numToKeep: '{build-num-to-keep}'
122         artifactDaysToKeep: '{build-artifact-days-to-keep}'
123         artifactNumToKeep: '{build-artifact-num-to-keep}'
124
125     parameters:
126         - project-parameter:
127             project: '{project}'
128
129     scm:
130         - gerrit-trigger-scm:
131             credentials-id: '{ssh-credentials}'
132             refspec: ''
133             choosing-strategy: 'default'
134
135     wrappers:
136         - build-timeout
137         - ssh-agent-credentials:
138             user: '{ssh-credentials}'
139
140     triggers:
141         - gerrit-trigger-patch-merged:
142             name: 'ovsdb'
143             branch: '{branch}'
144
145     prebuilders:
146         - wipe-org-opendaylight-repo
147
148     maven:
149         maven-name: '{mvn32}'
150         root-pom: 'pom.xml'
151         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
152         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
153         settings: '{ovsdb-settings}'
154         global-settings: '{odl-global-settings}'
155
156     postbuilders:
157         - jacoco-nojava-workaround
158
159     reporters:
160         - findbugs
161
162     publishers:
163         
164         - email-notification:
165             email-prefix: '[ovsdb]'
166         - maven-deploy:
167             id: ''
168             unique-version: true
169             deploy-unstable: false
170         - jacoco-report
171
172 - job-template:
173     name: 'ovsdb-daily-{stream}'
174
175     # Job template for daily builders
176     #
177     # The purpose of this job template is to setup a daily/nightly
178     # builder and pushes to Sonar analysis.
179     #
180     # Required Variables:
181     #     stream:    branch with - in place of / (eg. stable-helium)
182     #     branch:    branch (eg. stable/helium)
183
184     project-type: maven
185     node: dynamic_verify
186     jdk: '{jdk}'
187
188     logrotate:
189         daysToKeep: '{build-days-to-keep}'
190         numToKeep: '{build-num-to-keep}'
191         artifactDaysToKeep: '{build-artifact-days-to-keep}'
192         artifactNumToKeep: '{build-artifact-num-to-keep}'
193
194     parameters:
195         - project-parameter:
196             project: '{project}'
197
198     scm:
199         - git-scm:
200             credentials-id: '{ssh-credentials}'
201             refspec: ''
202             branch: '{branch}'
203
204     wrappers:
205         - build-timeout
206         - ssh-agent-credentials:
207             user: '{ssh-credentials}'
208
209     triggers:
210         - timed: 'H H * * *'
211
212     prebuilders:
213         - wipe-org-opendaylight-repo
214
215     maven:
216         maven-name: '{mvn32}'
217         root-pom: 'pom.xml'
218         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
219         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
220         settings: '{ovsdb-settings}'
221         global-settings: '{odl-global-settings}'
222
223     postbuilders:
224         - jacoco-nojava-workaround
225
226     reporters:
227         - findbugs
228
229     publishers:
230         - email-notification:
231             email-prefix: '[ovsdb]'
232         - jacoco-report
233
234 - job-template:
235     name: 'ovsdb-integration-{stream}'
236     disabled: false
237
238     # Job template for ODL merge jobs
239     #
240     # The purpose of this job template is to setup a ODL merge job
241     # and deploy artifacts to Nexus.
242     #
243     # Required Variables:
244     #     stream:    branch with - in place of / (eg. stable-helium)
245     #     branch:    branch (eg. stable/helium)
246
247     project-type: maven
248     node: dynamic_merge
249     jdk: '{jdk}'
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         - project-parameter:
259             project: '{project}'
260
261     scm:
262         - git-scm:
263             credentials-id: '{ssh-credentials}'
264             refspec: ''
265             branch: '{branch}'
266
267     wrappers:
268         - build-timeout
269         - ssh-agent-credentials:
270             user: '{ssh-credentials}'
271
272     triggers:
273         - reverse:
274             jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
275             result: 'success'
276
277     prebuilders:
278         - wipe-org-opendaylight-repo
279
280     maven:
281         maven-name: '{mvn32}'
282         root-pom: 'pom.xml'
283         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
284         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
285         settings: '{ovsdb-settings}'
286         global-settings: '{odl-global-settings}'
287
288     postbuilders:
289         - jacoco-nojava-workaround
290
291     reporters:
292         - findbugs
293
294     publishers:
295         - email-notification:
296             email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
297         - jacoco-report
298