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 - 'odlparent-verify-{stream}'
10 - 'odlparent-merge-{stream}'
11 - 'odlparent-daily-{stream}'
12 - 'odlparent-integration-{stream}'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
22 branch: 'stable/helium'
24 branch: 'stable/lithium'
29 # For the Job templates below replace instances of:
30 # PROJECT with your project name (eg. controller)
31 # MAVEN_GOALS with your maven goals to build
32 # MAVEN_OPTS with your maven options to build
35 name: 'odlparent-verify-{stream}'
37 # Job template for ODL verify jobs
39 # The purpose of this job template is to setup a ODL verify job
42 # stream: branch with - in place of / (eg. stable-helium)
43 # branch: branch (eg. stable/helium)
62 daysToKeep: '{build-days-to-keep}'
63 numToKeep: '{build-num-to-keep}'
64 artifactDaysToKeep: '{build-artifact-days-to-keep}'
65 artifactNumToKeep: '{build-artifact-num-to-keep}'
75 credentials-id: '{ssh-credentials}'
76 refspec: '$GERRIT_REFSPEC'
77 choosing-strategy: 'gerrit'
81 - ssh-agent-credentials:
82 user: '{ssh-credentials}'
85 - gerrit-trigger-patch-submitted:
90 - wipe-org-opendaylight-repo
92 maven-version: '{mvn32}'
94 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
96 - '-Xmx1024m -XX:MaxPermSize=256m'
97 settings: '{odlparent-settings}'
98 global-settings: '{odl-global-settings}'
99 - jacoco-nojava-workaround
103 - email-notification:
104 email-prefix: '[odlparent]'
108 name: 'odlparent-merge-{stream}'
110 # Job template for ODL merge jobs
112 # The purpose of this job template is to setup a ODL merge job
113 # and deploy artifacts to Nexus.
115 # Required Variables:
116 # stream: branch with - in place of / (eg. stable-helium)
117 # branch: branch (eg. stable/helium)
124 daysToKeep: '{build-days-to-keep}'
125 numToKeep: '{build-num-to-keep}'
126 artifactDaysToKeep: '{build-artifact-days-to-keep}'
127 artifactNumToKeep: '{build-artifact-num-to-keep}'
134 - gerrit-trigger-scm:
135 credentials-id: '{ssh-credentials}'
137 choosing-strategy: 'default'
141 - ssh-agent-credentials:
142 user: '{ssh-credentials}'
145 - gerrit-trigger-patch-merged:
150 - wipe-org-opendaylight-repo
153 maven-name: '{mvn32}'
155 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
156 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
157 settings: '{odlparent-settings}'
158 global-settings: '{odl-global-settings}'
161 - jacoco-nojava-workaround
168 - email-notification:
169 email-prefix: '[odlparent]'
173 deploy-unstable: false
177 name: 'odlparent-daily-{stream}'
179 # Job template for daily builders
181 # The purpose of this job template is to setup a daily/nightly
182 # builder and pushes to Sonar analysis.
184 # Required Variables:
185 # stream: branch with - in place of / (eg. stable-helium)
186 # branch: branch (eg. stable/helium)
193 daysToKeep: '{build-days-to-keep}'
194 numToKeep: '{build-num-to-keep}'
195 artifactDaysToKeep: '{build-artifact-days-to-keep}'
196 artifactNumToKeep: '{build-artifact-num-to-keep}'
204 credentials-id: '{ssh-credentials}'
210 - ssh-agent-credentials:
211 user: '{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: '{odlparent-settings}'
225 global-settings: '{odl-global-settings}'
228 - jacoco-nojava-workaround
234 - email-notification:
235 email-prefix: '[odlparent]'
239 name: 'odlparent-integration-{stream}'
242 # Job template for ODL merge jobs
244 # The purpose of this job template is to setup a ODL merge job
245 # and deploy artifacts to Nexus.
247 # Required Variables:
248 # stream: branch with - in place of / (eg. stable-helium)
249 # branch: branch (eg. stable/helium)
256 daysToKeep: '{build-days-to-keep}'
257 numToKeep: '{build-num-to-keep}'
258 artifactDaysToKeep: '{build-artifact-days-to-keep}'
259 artifactNumToKeep: '{build-artifact-num-to-keep}'
267 credentials-id: '{ssh-credentials}'
273 - ssh-agent-credentials:
274 user: '{ssh-credentials}'
278 jobs: 'odlparent-merge-{stream}'
282 - wipe-org-opendaylight-repo
285 maven-name: '{mvn32}'
287 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
288 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
289 settings: '{odlparent-settings}'
290 global-settings: '{odl-global-settings}'
293 - jacoco-nojava-workaround
299 - email-notification:
300 email-prefix: '[odlparent] [odlparent]'
304 name: 'odlparent-sonar'
313 artifactDaysToKeep: '1'
314 artifactNumToKeep: '1'
322 credentials-id: '{ssh-credentials}'
328 - ssh-agent-credentials:
329 user: '{ssh-credentials}'
335 maven-name: '{mvn32}'
337 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
338 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
339 settings: '{odlparent-settings}'
340 global-settings: '{odl-global-settings}'
343 - jacoco-nojava-workaround
351 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
352 - email-notification:
353 email-prefix: '[odlparent]'