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'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
22 project: 'topoprocessing'
25 # For the Job templates below replace instances of:
26 # PROJECT with your project name (eg. controller)
27 # MAVEN_GOALS with your maven goals to build
28 # MAVEN_OPTS with your maven options to build
31 name: 'topoprocessing-verify-{stream}'
33 # Job template for ODL verify jobs
35 # The purpose of this job template is to setup a ODL verify job
38 # stream: branch with - in place of / (eg. stable-helium)
39 # branch: branch (eg. stable/helium)
58 daysToKeep: '{build-days-to-keep}'
59 numToKeep: '{build-num-to-keep}'
60 artifactDaysToKeep: '{build-artifact-days-to-keep}'
61 artifactNumToKeep: '{build-artifact-num-to-keep}'
71 credentials-id: '{ssh-credentials}'
72 refspec: '$GERRIT_REFSPEC'
73 choosing-strategy: 'gerrit'
77 - ssh-agent-credentials:
78 user: '{ssh-credentials}'
81 - gerrit-trigger-patch-submitted:
82 name: 'topoprocessing'
86 - wipe-org-opendaylight-repo
88 maven-version: '{mvn32}'
90 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
92 - '-Xmx1024m -XX:MaxPermSize=256m'
93 settings: '{topoprocessing-settings}'
94 global-settings: '{odl-global-settings}'
95 - jacoco-nojava-workaround
100 email-prefix: '[topoprocessing]'
104 name: 'topoprocessing-merge-{stream}'
106 # Job template for ODL merge jobs
108 # The purpose of this job template is to setup a ODL merge job
109 # and deploy artifacts to Nexus.
111 # Required Variables:
112 # stream: branch with - in place of / (eg. stable-helium)
113 # branch: branch (eg. stable/helium)
120 daysToKeep: '{build-days-to-keep}'
121 numToKeep: '{build-num-to-keep}'
122 artifactDaysToKeep: '{build-artifact-days-to-keep}'
123 artifactNumToKeep: '{build-artifact-num-to-keep}'
130 - gerrit-trigger-scm:
131 credentials-id: '{ssh-credentials}'
133 choosing-strategy: 'default'
137 - ssh-agent-credentials:
138 user: '{ssh-credentials}'
141 - gerrit-trigger-patch-merged:
142 name: 'topoprocessing'
146 - wipe-org-opendaylight-repo
149 maven-name: '{mvn32}'
151 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
152 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
153 settings: '{topoprocessing-settings}'
154 global-settings: '{odl-global-settings}'
157 - jacoco-nojava-workaround
164 - email-notification:
165 email-prefix: '[topoprocessing]'
169 deploy-unstable: false
173 name: 'topoprocessing-daily-{stream}'
175 # Job template for daily builders
177 # The purpose of this job template is to setup a daily/nightly
178 # builder and pushes to Sonar analysis.
180 # Required Variables:
181 # stream: branch with - in place of / (eg. stable-helium)
182 # branch: branch (eg. stable/helium)
189 daysToKeep: '{build-days-to-keep}'
190 numToKeep: '{build-num-to-keep}'
191 artifactDaysToKeep: '{build-artifact-days-to-keep}'
192 artifactNumToKeep: '{build-artifact-num-to-keep}'
200 credentials-id: '{ssh-credentials}'
206 - ssh-agent-credentials:
207 user: '{ssh-credentials}'
213 - wipe-org-opendaylight-repo
216 maven-name: '{mvn32}'
218 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
219 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
220 settings: '{topoprocessing-settings}'
221 global-settings: '{odl-global-settings}'
224 - jacoco-nojava-workaround
230 - email-notification:
231 email-prefix: '[topoprocessing]'
235 name: 'topoprocessing-integration-{stream}'
238 # Job template for ODL merge jobs
240 # The purpose of this job template is to setup a ODL merge job
241 # and deploy artifacts to Nexus.
243 # Required Variables:
244 # stream: branch with - in place of / (eg. stable-helium)
245 # branch: branch (eg. stable/helium)
252 daysToKeep: '{build-days-to-keep}'
253 numToKeep: '{build-num-to-keep}'
254 artifactDaysToKeep: '{build-artifact-days-to-keep}'
255 artifactNumToKeep: '{build-artifact-num-to-keep}'
263 credentials-id: '{ssh-credentials}'
269 - ssh-agent-credentials:
270 user: '{ssh-credentials}'
274 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
278 - wipe-org-opendaylight-repo
281 maven-name: '{mvn32}'
283 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
284 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
285 settings: '{topoprocessing-settings}'
286 global-settings: '{odl-global-settings}'
289 - jacoco-nojava-workaround
295 - email-notification:
296 email-prefix: '[topoprocessing] [odlparent] [controller] [yangtools]'
300 name: 'topoprocessing-sonar'
309 artifactDaysToKeep: '1'
310 artifactNumToKeep: '1'
318 credentials-id: '{ssh-credentials}'
324 - ssh-agent-credentials:
325 user: '{ssh-credentials}'
331 maven-name: '{mvn32}'
333 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
334 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
335 settings: '{topoprocessing-settings}'
336 global-settings: '{odl-global-settings}'
339 - jacoco-nojava-workaround
347 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
348 - email-notification:
349 email-prefix: '[topoprocessing]'