Tcpmd5: distribution job added.
[releng/builder.git] / jjb / yangtools / yangtools.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: yangtools
8     jobs:
9         - 'yangtools-merge-{stream}'
10         - 'yangtools-daily-{stream}'
11         - 'yangtools-integration-{stream}'
12         - 'yangtools-sonar'
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: 'yangtools'
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: 'yangtools-merge-{stream}'
33
34     # Job template for ODL merge jobs
35     #
36     # The purpose of this job template is to setup a ODL merge job
37     # and deploy artifacts to Nexus.
38     #
39     # Required Variables:
40     #     stream:    branch with - in place of / (eg. stable-helium)
41     #     branch:    branch (eg. stable/helium)
42
43     project-type: maven
44     node: dynamic_merge
45     jdk: '{jdk}'
46
47     logrotate:
48         daysToKeep: '{build-days-to-keep}'
49         numToKeep: '{build-num-to-keep}'
50         artifactDaysToKeep: '{build-artifact-days-to-keep}'
51         artifactNumToKeep: '{build-artifact-num-to-keep}'
52
53     parameters:
54         - project-parameter:
55             project: '{project}'
56
57     scm:
58         - gerrit-trigger-scm:
59             credentials-id: '{ssh-credentials}'
60             refspec: ''
61             choosing-strategy: 'default'
62
63     wrappers:
64         - build-timeout
65         - ssh-agent-credentials:
66             user: '{ssh-credentials}'
67
68     triggers:
69         - gerrit-trigger-patch-merged:
70             name: 'yangtools'
71             branch: '{branch}'
72
73     prebuilders:
74         - wipe-org-opendaylight-repo
75
76     maven:
77         maven-name: '{mvn32}'
78         root-pom: 'pom.xml'
79         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
80         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
81         settings: '{yangtools-settings}'
82         global-settings: '{odl-global-settings}'
83
84     postbuilders:
85         - jacoco-nojava-workaround
86
87     reporters:
88         - findbugs
89
90     publishers:
91         
92         - email-notification:
93             email-prefix: '[yangtools]'
94         - maven-deploy:
95             id: ''
96             unique-version: true
97             deploy-unstable: false
98         - jacoco-report
99
100 - job-template:
101     name: 'yangtools-daily-{stream}'
102
103     # Job template for daily builders
104     #
105     # The purpose of this job template is to setup a daily/nightly
106     # builder and pushes to Sonar analysis.
107     #
108     # Required Variables:
109     #     stream:    branch with - in place of / (eg. stable-helium)
110     #     branch:    branch (eg. stable/helium)
111
112     project-type: maven
113     node: dynamic_verify
114     jdk: '{jdk}'
115
116     logrotate:
117         daysToKeep: '{build-days-to-keep}'
118         numToKeep: '{build-num-to-keep}'
119         artifactDaysToKeep: '{build-artifact-days-to-keep}'
120         artifactNumToKeep: '{build-artifact-num-to-keep}'
121
122     parameters:
123         - project-parameter:
124             project: '{project}'
125
126     scm:
127         - git-scm:
128             credentials-id: '{ssh-credentials}'
129             refspec: ''
130             branch: '{branch}'
131
132     wrappers:
133         - build-timeout
134         - ssh-agent-credentials:
135             user: '{ssh-credentials}'
136
137     triggers:
138         - timed: 'H H * * *'
139
140     prebuilders:
141         - wipe-org-opendaylight-repo
142
143     maven:
144         maven-name: '{mvn32}'
145         root-pom: 'pom.xml'
146         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
147         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
148         settings: '{yangtools-settings}'
149         global-settings: '{odl-global-settings}'
150
151     postbuilders:
152         - jacoco-nojava-workaround
153
154     reporters:
155         - findbugs
156
157     publishers:
158         - email-notification:
159             email-prefix: '[yangtools]'
160         - jacoco-report
161
162 - job-template:
163     name: 'yangtools-integration-{stream}'
164     disabled: false
165
166     # Job template for ODL merge jobs
167     #
168     # The purpose of this job template is to setup a ODL merge job
169     # and deploy artifacts to Nexus.
170     #
171     # Required Variables:
172     #     stream:    branch with - in place of / (eg. stable-helium)
173     #     branch:    branch (eg. stable/helium)
174
175     project-type: maven
176     node: dynamic_merge
177     jdk: '{jdk}'
178
179     logrotate:
180         daysToKeep: '{build-days-to-keep}'
181         numToKeep: '{build-num-to-keep}'
182         artifactDaysToKeep: '{build-artifact-days-to-keep}'
183         artifactNumToKeep: '{build-artifact-num-to-keep}'
184
185     parameters:
186         - project-parameter:
187             project: '{project}'
188
189     scm:
190         - git-scm:
191             credentials-id: '{ssh-credentials}'
192             refspec: ''
193             branch: '{branch}'
194
195     wrappers:
196         - build-timeout
197         - ssh-agent-credentials:
198             user: '{ssh-credentials}'
199
200     triggers:
201         - reverse:
202             jobs: 'odlparent-merge-{stream}'
203             result: 'success'
204
205     prebuilders:
206         - wipe-org-opendaylight-repo
207
208     maven:
209         maven-name: '{mvn32}'
210         root-pom: 'pom.xml'
211         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
212         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
213         settings: '{yangtools-settings}'
214         global-settings: '{odl-global-settings}'
215
216     postbuilders:
217         - jacoco-nojava-workaround
218
219     reporters:
220         - findbugs
221
222     publishers:
223         - email-notification:
224             email-prefix: '[yangtools] [odlparent]'
225         - jacoco-report
226
227 - job-template:
228     name: 'yangtools-sonar'
229
230     project-type: maven
231     node: dynamic_verify
232     jdk: '{jdk}'
233
234     logrotate:
235         daysToKeep: '7'
236         numToKeep: '10'
237         artifactDaysToKeep: '1'
238         artifactNumToKeep: '1'
239
240     parameters:
241         - project-parameter:
242             project: '{project}'
243
244     scm:
245         - git-scm:
246             credentials-id: '{ssh-credentials}'
247             refspec: ''
248             branch: 'master'
249
250     wrappers:
251         - build-timeout
252         - ssh-agent-credentials:
253             user: '{ssh-credentials}'
254
255     triggers:
256         - timed: 'H H * * *'
257
258     maven:
259         maven-name: '{mvn32}'
260         root-pom: 'pom.xml'
261         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  -Dsonar'
262         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
263         settings: '{yangtools-settings}'
264         global-settings: '{odl-global-settings}'
265
266     postbuilders:
267         - jacoco-nojava-workaround
268
269     reporters:
270         - findbugs
271
272     publishers:
273         - sonar:
274             language: 'java'
275             maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
276         - email-notification:
277             email-prefix: '[yangtools]'
278         - jacoco-report
279