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 - 'tsdr-verify-{stream}'
10 - 'tsdr-merge-{stream}'
11 - 'tsdr-daily-{stream}'
12 - 'tsdr-integration-{stream}'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
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: 'tsdr-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:
86 - wipe-org-opendaylight-repo
88 maven-version: '{mvn32}'
90 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
92 - '-Xmx1024m -XX:MaxPermSize=256m'
93 settings: '{tsdr-settings}'
94 global-settings: '{odl-global-settings}'
95 - jacoco-nojava-workaround
99 email-prefix: '[tsdr]'
103 name: 'tsdr-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:
145 - wipe-org-opendaylight-repo
148 maven-name: '{mvn32}'
150 goals: 'clean install javadoc:aggregate -DrepoBuild -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: '{tsdr-settings}'
153 global-settings: '{odl-global-settings}'
156 - jacoco-nojava-workaround
160 - email-notification:
161 email-prefix: '[tsdr]'
165 deploy-unstable: false
169 name: 'tsdr-daily-{stream}'
171 # Job template for daily builders
173 # The purpose of this job template is to setup a daily/nightly
174 # builder and pushes to Sonar analysis.
176 # Required Variables:
177 # stream: branch with - in place of / (eg. stable-helium)
178 # branch: branch (eg. stable/helium)
185 daysToKeep: '{build-days-to-keep}'
186 numToKeep: '{build-num-to-keep}'
187 artifactDaysToKeep: '{build-artifact-days-to-keep}'
188 artifactNumToKeep: '{build-artifact-num-to-keep}'
196 credentials-id: '{ssh-credentials}'
202 - ssh-agent-credentials:
203 user: '{ssh-credentials}'
209 - wipe-org-opendaylight-repo
212 maven-name: '{mvn32}'
214 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
215 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
216 settings: '{tsdr-settings}'
217 global-settings: '{odl-global-settings}'
220 - jacoco-nojava-workaround
223 - email-notification:
224 email-prefix: '[tsdr]'
228 name: 'tsdr-integration-{stream}'
231 # Job template for ODL merge jobs
233 # The purpose of this job template is to setup a ODL merge job
234 # and deploy artifacts to Nexus.
236 # Required Variables:
237 # stream: branch with - in place of / (eg. stable-helium)
238 # branch: branch (eg. stable/helium)
245 daysToKeep: '{build-days-to-keep}'
246 numToKeep: '{build-num-to-keep}'
247 artifactDaysToKeep: '{build-artifact-days-to-keep}'
248 artifactNumToKeep: '{build-artifact-num-to-keep}'
256 credentials-id: '{ssh-credentials}'
262 - ssh-agent-credentials:
263 user: '{ssh-credentials}'
267 jobs: 'odlparent-merge-{stream}'
271 - wipe-org-opendaylight-repo
274 maven-name: '{mvn32}'
276 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
277 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
278 settings: '{tsdr-settings}'
279 global-settings: '{odl-global-settings}'
282 - jacoco-nojava-workaround
285 - email-notification:
286 email-prefix: '[tsdr] [odlparent]'
299 artifactDaysToKeep: '1'
300 artifactNumToKeep: '1'
308 credentials-id: '{ssh-credentials}'
314 - ssh-agent-credentials:
315 user: '{ssh-credentials}'
321 maven-name: '{mvn32}'
323 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
324 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
325 settings: '{tsdr-settings}'
326 global-settings: '{odl-global-settings}'
329 - jacoco-nojava-workaround
334 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
335 - email-notification:
336 email-prefix: '[tsdr]'