1 # REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW
2 # Otherwise this file will be automatically overwritten by the template
5 # ODL Releng build templates
9 - 'topoprocessing-verify-{stream}'
10 - 'topoprocessing-merge-{stream}'
11 - 'topoprocessing-daily-{stream}'
12 - 'topoprocessing-integration-{stream}'
13 - 'topoprocessing-sonar'
14 - 'topoprocessing-clm'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
23 project: 'topoprocessing'
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
32 name: 'topoprocessing-verify-{stream}'
34 # Job template for ODL verify jobs
36 # The purpose of this job template is to setup a ODL verify job
39 # stream: branch with - in place of / (eg. stable-helium)
40 # branch: branch (eg. stable/helium)
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}'
72 credentials-id: '{ssh-credentials}'
73 refspec: '$GERRIT_REFSPEC'
74 choosing-strategy: 'gerrit'
78 - ssh-agent-credentials:
79 user: '{ssh-credentials}'
82 - gerrit-trigger-patch-submitted:
83 name: 'topoprocessing'
87 - wipe-org-opendaylight-repo
89 maven-version: '{mvn32}'
91 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
93 - '-Xmx1024m -XX:MaxPermSize=256m'
94 settings: '{topoprocessing-settings}'
95 global-settings: '{odl-global-settings}'
96 - jacoco-nojava-workaround
100 - email-notification:
101 email-prefix: '[topoprocessing]'
105 name: 'topoprocessing-merge-{stream}'
107 # Job template for ODL merge jobs
109 # The purpose of this job template is to setup a ODL merge job
110 # and deploy artifacts to Nexus.
112 # Required Variables:
113 # stream: branch with - in place of / (eg. stable-helium)
114 # branch: branch (eg. stable/helium)
121 daysToKeep: '{build-days-to-keep}'
122 numToKeep: '{build-num-to-keep}'
123 artifactDaysToKeep: '{build-artifact-days-to-keep}'
124 artifactNumToKeep: '{build-artifact-num-to-keep}'
131 - gerrit-trigger-scm:
132 credentials-id: '{ssh-credentials}'
134 choosing-strategy: 'default'
138 - ssh-agent-credentials:
139 user: '{ssh-credentials}'
142 - gerrit-trigger-patch-merged:
143 name: 'topoprocessing'
147 - wipe-org-opendaylight-repo
150 maven-name: '{mvn32}'
152 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
153 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
154 settings: '{topoprocessing-settings}'
155 global-settings: '{odl-global-settings}'
158 - jacoco-nojava-workaround
165 - email-notification:
166 email-prefix: '[topoprocessing]'
170 deploy-unstable: false
174 name: 'topoprocessing-daily-{stream}'
176 # Job template for daily builders
178 # The purpose of this job template is to setup a daily/nightly
179 # builder and pushes to Sonar analysis.
181 # Required Variables:
182 # stream: branch with - in place of / (eg. stable-helium)
183 # branch: branch (eg. stable/helium)
190 daysToKeep: '{build-days-to-keep}'
191 numToKeep: '{build-num-to-keep}'
192 artifactDaysToKeep: '{build-artifact-days-to-keep}'
193 artifactNumToKeep: '{build-artifact-num-to-keep}'
201 credentials-id: '{ssh-credentials}'
207 - ssh-agent-credentials:
208 user: '{ssh-credentials}'
214 - wipe-org-opendaylight-repo
217 maven-name: '{mvn32}'
219 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
220 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
221 settings: '{topoprocessing-settings}'
222 global-settings: '{odl-global-settings}'
225 - jacoco-nojava-workaround
231 - email-notification:
232 email-prefix: '[topoprocessing]'
236 name: 'topoprocessing-integration-{stream}'
239 # Job template for ODL merge jobs
241 # The purpose of this job template is to setup a ODL merge job
242 # and deploy artifacts to Nexus.
244 # Required Variables:
245 # stream: branch with - in place of / (eg. stable-helium)
246 # branch: branch (eg. stable/helium)
253 daysToKeep: '{build-days-to-keep}'
254 numToKeep: '{build-num-to-keep}'
255 artifactDaysToKeep: '{build-artifact-days-to-keep}'
256 artifactNumToKeep: '{build-artifact-num-to-keep}'
264 credentials-id: '{ssh-credentials}'
270 - ssh-agent-credentials:
271 user: '{ssh-credentials}'
275 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
279 - wipe-org-opendaylight-repo
282 maven-name: '{mvn32}'
284 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
285 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
286 settings: '{topoprocessing-settings}'
287 global-settings: '{odl-global-settings}'
290 - jacoco-nojava-workaround
296 - email-notification:
297 email-prefix: '[topoprocessing] [odlparent] [controller] [yangtools]'
301 name: 'topoprocessing-sonar'
310 artifactDaysToKeep: '1'
311 artifactNumToKeep: '1'
319 credentials-id: '{ssh-credentials}'
325 - ssh-agent-credentials:
326 user: '{ssh-credentials}'
332 maven-name: '{mvn32}'
334 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
335 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
336 settings: '{topoprocessing-settings}'
337 global-settings: '{odl-global-settings}'
340 - jacoco-nojava-workaround
348 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
349 - email-notification:
350 email-prefix: '[topoprocessing]'
354 name: 'topoprocessing-clm'
361 daysToKeep: '{build-days-to-keep}'
362 numToKeep: '{build-num-to-keep}'
363 artifactDaysToKeep: '{build-artifact-days-to-keep}'
364 artifactNumToKeep: '{build-artifact-num-to-keep}'
372 credentials-id: '{ssh-credentials}'
378 - ssh-agent-credentials:
379 user: '{ssh-credentials}'
385 - wipe-org-opendaylight-repo
388 maven-name: '{mvn32}'
390 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
391 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
392 settings: '{topoprocessing-settings}'
393 global-settings: '{odl-global-settings}'
397 application-name: topoprocessing
400 - email-notification:
401 email-prefix: '[topoprocessing]'