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 - 'coretutorials-verify-{stream}'
10 - 'coretutorials-merge-{stream}'
11 - 'coretutorials-daily-{stream}'
12 - 'coretutorials-integration-{stream}'
13 - 'coretutorials-sonar'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
26 project: 'coretutorials'
28 # For the Job templates below replace instances of:
29 # PROJECT with your project name (eg. controller)
30 # MAVEN_GOALS with your maven goals to build
31 # MAVEN_OPTS with your maven options to build
34 name: 'coretutorials-verify-{stream}'
36 # Job template for ODL verify jobs
38 # The purpose of this job template is to setup a ODL verify job
41 # stream: branch with - in place of / (eg. stable-helium)
42 # 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:
83 - gerrit-trigger-patch-submitted:
88 - wipe-org-opendaylight-repo
90 maven-version: '{mvn32}'
92 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
94 - '-Xmx1024m -XX:MaxPermSize=256m'
95 settings: '{coretutorials-settings}'
96 global-settings: '{odl-global-settings}'
97 - jacoco-nojava-workaround
101 - email-notification:
102 email-prefix: '[coretutorials]'
106 name: 'coretutorials-merge-{stream}'
108 # Job template for ODL merge jobs
110 # The purpose of this job template is to setup a ODL merge job
111 # and deploy artifacts to Nexus.
113 # Required Variables:
114 # stream: branch with - in place of / (eg. stable-helium)
115 # branch: branch (eg. stable/helium)
122 daysToKeep: '{build-days-to-keep}'
123 numToKeep: '{build-num-to-keep}'
124 artifactDaysToKeep: '{build-artifact-days-to-keep}'
125 artifactNumToKeep: '{build-artifact-num-to-keep}'
132 - gerrit-trigger-scm:
133 credentials-id: '{ssh-credentials}'
135 choosing-strategy: 'default'
139 - ssh-agent-credentials:
141 - '{ssh-credentials}'
144 - gerrit-trigger-patch-merged:
145 name: 'coretutorials'
149 - wipe-org-opendaylight-repo
152 maven-name: '{mvn32}'
154 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
155 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
156 settings: '{coretutorials-settings}'
157 global-settings: '{odl-global-settings}'
160 - jacoco-nojava-workaround
167 - email-notification:
168 email-prefix: '[coretutorials]'
172 deploy-unstable: false
176 name: 'coretutorials-daily-{stream}'
178 # Job template for daily builders
180 # The purpose of this job template is to setup a daily/nightly
181 # builder and pushes to Sonar analysis.
183 # Required Variables:
184 # stream: branch with - in place of / (eg. stable-helium)
185 # branch: branch (eg. stable/helium)
192 daysToKeep: '{build-days-to-keep}'
193 numToKeep: '{build-num-to-keep}'
194 artifactDaysToKeep: '{build-artifact-days-to-keep}'
195 artifactNumToKeep: '{build-artifact-num-to-keep}'
203 credentials-id: '{ssh-credentials}'
209 - ssh-agent-credentials:
211 - '{ssh-credentials}'
217 - wipe-org-opendaylight-repo
220 maven-name: '{mvn32}'
222 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
223 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
224 settings: '{coretutorials-settings}'
225 global-settings: '{odl-global-settings}'
228 - jacoco-nojava-workaround
234 - email-notification:
235 email-prefix: '[coretutorials]'
239 name: 'coretutorials-integration-{stream}'
242 # Job template for ODL integration verify jobs
244 # This is similar to a normal verify job, but it runs
245 # when a project that's a dependency of your project
246 # is successfully built.
248 # Required Variables:
249 # stream: branch with - in place of / (eg. stable-helium)
250 # branch: branch (eg. stable/helium)
257 daysToKeep: '{build-days-to-keep}'
258 numToKeep: '{build-num-to-keep}'
259 artifactDaysToKeep: '{build-artifact-days-to-keep}'
260 artifactNumToKeep: '{build-artifact-num-to-keep}'
268 credentials-id: '{ssh-credentials}'
274 - ssh-agent-credentials:
276 - '{ssh-credentials}'
280 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
284 - wipe-org-opendaylight-repo
287 maven-name: '{mvn32}'
289 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
290 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
291 settings: '{coretutorials-settings}'
292 global-settings: '{odl-global-settings}'
295 - jacoco-nojava-workaround
301 - email-notification:
302 email-prefix: '[coretutorials] [odlparent] [yangtools] [controller]'
306 name: 'coretutorials-sonar'
315 artifactDaysToKeep: '1'
316 artifactNumToKeep: '1'
324 credentials-id: '{ssh-credentials}'
330 - ssh-agent-credentials:
332 - '{ssh-credentials}'
338 maven-name: '{mvn32}'
340 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
341 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
342 settings: '{coretutorials-settings}'
343 global-settings: '{odl-global-settings}'
346 - jacoco-nojava-workaround
354 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
355 - email-notification:
356 email-prefix: '[coretutorials]'
360 name: 'coretutorials-clm'
367 daysToKeep: '{build-days-to-keep}'
368 numToKeep: '{build-num-to-keep}'
369 artifactDaysToKeep: '{build-artifact-days-to-keep}'
370 artifactNumToKeep: '{build-artifact-num-to-keep}'
378 credentials-id: '{ssh-credentials}'
384 - ssh-agent-credentials:
386 - '{ssh-credentials}'
392 - wipe-org-opendaylight-repo
395 maven-name: '{mvn32}'
397 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
398 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
399 settings: '{coretutorials-settings}'
400 global-settings: '{odl-global-settings}'
404 application-name: coretutorials
407 - email-notification:
408 email-prefix: '[coretutorials]'