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
99 email-prefix: '[topoprocessing]'
103 name: 'topoprocessing-merge-{stream}'
105 # Job template for ODL merge jobs
107 # The purpose of this job template is to setup a ODL merge job
108 # and deploy artifacts to Nexus.
110 # Required Variables:
111 # stream: branch with - in place of / (eg. stable-helium)
112 # branch: branch (eg. stable/helium)
119 daysToKeep: '{build-days-to-keep}'
120 numToKeep: '{build-num-to-keep}'
121 artifactDaysToKeep: '{build-artifact-days-to-keep}'
122 artifactNumToKeep: '{build-artifact-num-to-keep}'
129 - gerrit-trigger-scm:
130 credentials-id: '{ssh-credentials}'
132 choosing-strategy: 'default'
136 - ssh-agent-credentials:
137 user: '{ssh-credentials}'
140 - gerrit-trigger-patch-merged:
141 name: 'topoprocessing'
145 - wipe-org-opendaylight-repo
148 maven-name: '{mvn32}'
150 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
151 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
152 settings: '{topoprocessing-settings}'
153 global-settings: '{odl-global-settings}'
156 - jacoco-nojava-workaround
163 - email-notification:
164 email-prefix: '[topoprocessing]'
168 deploy-unstable: false
172 name: 'topoprocessing-daily-{stream}'
174 # Job template for daily builders
176 # The purpose of this job template is to setup a daily/nightly
177 # builder and pushes to Sonar analysis.
179 # Required Variables:
180 # stream: branch with - in place of / (eg. stable-helium)
181 # branch: branch (eg. stable/helium)
188 daysToKeep: '{build-days-to-keep}'
189 numToKeep: '{build-num-to-keep}'
190 artifactDaysToKeep: '{build-artifact-days-to-keep}'
191 artifactNumToKeep: '{build-artifact-num-to-keep}'
199 credentials-id: '{ssh-credentials}'
205 - ssh-agent-credentials:
206 user: '{ssh-credentials}'
212 - wipe-org-opendaylight-repo
215 maven-name: '{mvn32}'
217 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
218 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
219 settings: '{topoprocessing-settings}'
220 global-settings: '{odl-global-settings}'
223 - jacoco-nojava-workaround
229 - email-notification:
230 email-prefix: '[topoprocessing]'
234 name: 'topoprocessing-integration-{stream}'
237 # Job template for ODL merge jobs
239 # The purpose of this job template is to setup a ODL merge job
240 # and deploy artifacts to Nexus.
242 # Required Variables:
243 # stream: branch with - in place of / (eg. stable-helium)
244 # branch: branch (eg. stable/helium)
251 daysToKeep: '{build-days-to-keep}'
252 numToKeep: '{build-num-to-keep}'
253 artifactDaysToKeep: '{build-artifact-days-to-keep}'
254 artifactNumToKeep: '{build-artifact-num-to-keep}'
262 credentials-id: '{ssh-credentials}'
268 - ssh-agent-credentials:
269 user: '{ssh-credentials}'
273 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
277 - wipe-org-opendaylight-repo
280 maven-name: '{mvn32}'
282 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
283 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
284 settings: '{topoprocessing-settings}'
285 global-settings: '{odl-global-settings}'
288 - jacoco-nojava-workaround
294 - email-notification:
295 email-prefix: '[topoprocessing] [odlparent] [controller] [yangtools]'
299 name: 'topoprocessing-sonar'
308 artifactDaysToKeep: '1'
309 artifactNumToKeep: '1'
317 credentials-id: '{ssh-credentials}'
323 - ssh-agent-credentials:
324 user: '{ssh-credentials}'
330 maven-name: '{mvn32}'
332 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
333 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
334 settings: '{topoprocessing-settings}'
335 global-settings: '{odl-global-settings}'
338 - jacoco-nojava-workaround
346 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
347 - email-notification:
348 email-prefix: '[topoprocessing]'