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 - 'l2switch-verify-{stream}'
10 - 'l2switch-merge-{stream}'
11 - 'l2switch-daily-{stream}'
12 - 'l2switch-integration-{stream}'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
22 branch: 'stable/helium'
27 # For the Job templates below replace instances of:
28 # PROJECT with your project name (eg. controller)
29 # MAVEN_GOALS with your maven goals to build
30 # MAVEN_OPTS with your maven options to build
33 name: 'l2switch-verify-{stream}'
35 # Job template for ODL verify jobs
37 # The purpose of this job template is to setup a ODL verify job
40 # stream: branch with - in place of / (eg. stable-helium)
41 # branch: branch (eg. stable/helium)
49 daysToKeep: '{build-days-to-keep}'
50 numToKeep: '{build-num-to-keep}'
51 artifactDaysToKeep: '{build-artifact-days-to-keep}'
52 artifactNumToKeep: '{build-artifact-num-to-keep}'
62 credentials-id: '{ssh-credentials}'
63 refspec: '$GERRIT_REFSPEC'
64 choosing-strategy: 'gerrit'
68 - ssh-agent-credentials:
69 user: '{ssh-credentials}'
72 - gerrit-trigger-patch-submitted:
77 - wipe-org-opendaylight-repo
82 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
83 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
84 settings: '{l2switch-settings}'
85 global-settings: '{odl-global-settings}'
86 ignore-upstream-changes: true
89 - jacoco-nojava-workaround
93 email-prefix: '[l2switch]'
97 name: 'l2switch-merge-{stream}'
99 # Job template for ODL merge jobs
101 # The purpose of this job template is to setup a ODL merge job
102 # and deploy artifacts to Nexus.
104 # Required Variables:
105 # stream: branch with - in place of / (eg. stable-helium)
106 # branch: branch (eg. stable/helium)
113 daysToKeep: '{build-days-to-keep}'
114 numToKeep: '{build-num-to-keep}'
115 artifactDaysToKeep: '{build-artifact-days-to-keep}'
116 artifactNumToKeep: '{build-artifact-num-to-keep}'
123 - gerrit-trigger-scm:
124 credentials-id: '{ssh-credentials}'
126 choosing-strategy: 'default'
130 - ssh-agent-credentials:
131 user: '{ssh-credentials}'
134 - gerrit-trigger-patch-merged:
139 - wipe-org-opendaylight-repo
142 maven-name: '{mvn32}'
144 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
145 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
146 settings: '{l2switch-settings}'
147 global-settings: '{odl-global-settings}'
150 - jacoco-nojava-workaround
154 - email-notification:
155 email-prefix: '[l2switch]'
159 deploy-unstable: false
163 name: 'l2switch-daily-{stream}'
165 # Job template for daily builders
167 # The purpose of this job template is to setup a daily/nightly
168 # builder and pushes to Sonar analysis.
170 # Required Variables:
171 # stream: branch with - in place of / (eg. stable-helium)
172 # branch: branch (eg. stable/helium)
179 daysToKeep: '{build-days-to-keep}'
180 numToKeep: '{build-num-to-keep}'
181 artifactDaysToKeep: '{build-artifact-days-to-keep}'
182 artifactNumToKeep: '{build-artifact-num-to-keep}'
190 credentials-id: '{ssh-credentials}'
196 - ssh-agent-credentials:
197 user: '{ssh-credentials}'
203 - wipe-org-opendaylight-repo
206 maven-name: '{mvn32}'
208 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
209 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
210 settings: '{l2switch-settings}'
211 global-settings: '{odl-global-settings}'
214 - jacoco-nojava-workaround
217 - email-notification:
218 email-prefix: '[l2switch]'
222 name: 'l2switch-integration-{stream}'
225 # Job template for ODL merge jobs
227 # The purpose of this job template is to setup a ODL merge job
228 # and deploy artifacts to Nexus.
230 # Required Variables:
231 # stream: branch with - in place of / (eg. stable-helium)
232 # branch: branch (eg. stable/helium)
239 daysToKeep: '{build-days-to-keep}'
240 numToKeep: '{build-num-to-keep}'
241 artifactDaysToKeep: '{build-artifact-days-to-keep}'
242 artifactNumToKeep: '{build-artifact-num-to-keep}'
250 credentials-id: '{ssh-credentials}'
256 - ssh-agent-credentials:
257 user: '{ssh-credentials}'
261 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream},openflowplugin-merge-{stream}'
265 - wipe-org-opendaylight-repo
268 maven-name: '{mvn32}'
270 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
271 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
272 settings: '{l2switch-settings}'
273 global-settings: '{odl-global-settings}'
276 - jacoco-nojava-workaround
279 - email-notification:
280 email-prefix: '[l2switch] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin]'
284 name: 'l2switch-sonar'
293 artifactDaysToKeep: '1'
294 artifactNumToKeep: '1'
302 credentials-id: '{ssh-credentials}'
308 - ssh-agent-credentials:
309 user: '{ssh-credentials}'
315 maven-name: '{mvn32}'
317 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Dsonar'
318 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
319 settings: '{l2switch-settings}'
320 global-settings: '{odl-global-settings}'
323 - jacoco-nojava-workaround
328 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
329 - email-notification:
330 email-prefix: '[l2switch]'