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)
57 daysToKeep: '{build-days-to-keep}'
58 numToKeep: '{build-num-to-keep}'
59 artifactDaysToKeep: '{build-artifact-days-to-keep}'
60 artifactNumToKeep: '{build-artifact-num-to-keep}'
70 credentials-id: '{ssh-credentials}'
71 refspec: '$GERRIT_REFSPEC'
72 choosing-strategy: 'gerrit'
76 - ssh-agent-credentials:
77 user: '{ssh-credentials}'
80 - gerrit-trigger-patch-submitted:
81 name: 'topoprocessing'
85 - wipe-org-opendaylight-repo
87 maven-version: '{mvn32}'
89 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
91 - '-Xmx1024m -XX:MaxPermSize=256m'
92 settings: '{topoprocessing-settings}'
93 global-settings: '{odl-global-settings}'
94 - jacoco-nojava-workaround
98 email-prefix: '[topoprocessing]'
102 name: 'topoprocessing-merge-{stream}'
104 # Job template for ODL merge jobs
106 # The purpose of this job template is to setup a ODL merge job
107 # and deploy artifacts to Nexus.
109 # Required Variables:
110 # stream: branch with - in place of / (eg. stable-helium)
111 # branch: branch (eg. stable/helium)
118 daysToKeep: '{build-days-to-keep}'
119 numToKeep: '{build-num-to-keep}'
120 artifactDaysToKeep: '{build-artifact-days-to-keep}'
121 artifactNumToKeep: '{build-artifact-num-to-keep}'
128 - gerrit-trigger-scm:
129 credentials-id: '{ssh-credentials}'
131 choosing-strategy: 'default'
135 - ssh-agent-credentials:
136 user: '{ssh-credentials}'
139 - gerrit-trigger-patch-merged:
140 name: 'topoprocessing'
144 - wipe-org-opendaylight-repo
147 maven-name: '{mvn32}'
149 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
150 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
151 settings: '{topoprocessing-settings}'
152 global-settings: '{odl-global-settings}'
155 - jacoco-nojava-workaround
159 - email-notification:
160 email-prefix: '[topoprocessing]'
164 deploy-unstable: false
168 name: 'topoprocessing-daily-{stream}'
170 # Job template for daily builders
172 # The purpose of this job template is to setup a daily/nightly
173 # builder and pushes to Sonar analysis.
175 # Required Variables:
176 # stream: branch with - in place of / (eg. stable-helium)
177 # branch: branch (eg. stable/helium)
184 daysToKeep: '{build-days-to-keep}'
185 numToKeep: '{build-num-to-keep}'
186 artifactDaysToKeep: '{build-artifact-days-to-keep}'
187 artifactNumToKeep: '{build-artifact-num-to-keep}'
195 credentials-id: '{ssh-credentials}'
201 - ssh-agent-credentials:
202 user: '{ssh-credentials}'
208 - wipe-org-opendaylight-repo
211 maven-name: '{mvn32}'
213 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
214 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
215 settings: '{topoprocessing-settings}'
216 global-settings: '{odl-global-settings}'
219 - jacoco-nojava-workaround
222 - email-notification:
223 email-prefix: '[topoprocessing]'
227 name: 'topoprocessing-integration-{stream}'
230 # Job template for ODL merge jobs
232 # The purpose of this job template is to setup a ODL merge job
233 # and deploy artifacts to Nexus.
235 # Required Variables:
236 # stream: branch with - in place of / (eg. stable-helium)
237 # branch: branch (eg. stable/helium)
244 daysToKeep: '{build-days-to-keep}'
245 numToKeep: '{build-num-to-keep}'
246 artifactDaysToKeep: '{build-artifact-days-to-keep}'
247 artifactNumToKeep: '{build-artifact-num-to-keep}'
255 credentials-id: '{ssh-credentials}'
261 - ssh-agent-credentials:
262 user: '{ssh-credentials}'
266 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
270 - wipe-org-opendaylight-repo
273 maven-name: '{mvn32}'
275 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
276 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
277 settings: '{topoprocessing-settings}'
278 global-settings: '{odl-global-settings}'
281 - jacoco-nojava-workaround
284 - email-notification:
285 email-prefix: '[topoprocessing] [odlparent] [controller] [yangtools]'
289 name: 'topoprocessing-sonar'
298 artifactDaysToKeep: '1'
299 artifactNumToKeep: '1'
307 credentials-id: '{ssh-credentials}'
313 - ssh-agent-credentials:
314 user: '{ssh-credentials}'
320 maven-name: '{mvn32}'
322 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
323 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
324 settings: '{topoprocessing-settings}'
325 global-settings: '{odl-global-settings}'
328 - jacoco-nojava-workaround
333 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
334 - email-notification:
335 email-prefix: '[topoprocessing]'