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 - 'vtn-verify-{stream}'
10 - 'vtn-merge-{stream}'
11 - 'vtn-daily-{stream}'
12 - 'vtn-integration-{stream}'
15 # stream: branch with - in place of / (eg. stable-helium)
16 # branch: branch (eg. stable/helium)
21 branch: 'stable/helium'
26 # For the Job templates below replace instances of:
27 # PROJECT with your project name (eg. controller)
28 # MAVEN_GOALS with your maven goals to build
29 # MAVEN_OPTS with your maven options to build
32 name: 'vtn-verify-{stream}'
34 # Job template for ODL verify jobs
36 # The purpose of this job template is to setup a ODL verify job
39 # stream: branch with - in place of / (eg. stable-helium)
40 # branch: branch (eg. stable/helium)
48 daysToKeep: '{build-days-to-keep}'
49 numToKeep: '{build-num-to-keep}'
50 artifactDaysToKeep: '{build-artifact-days-to-keep}'
51 artifactNumToKeep: '{build-artifact-num-to-keep}'
61 credentials-id: '{ssh-credentials}'
62 refspec: '$GERRIT_REFSPEC'
63 choosing-strategy: 'gerrit'
67 - ssh-agent-credentials:
68 user: '{ssh-credentials}'
71 - gerrit-trigger-patch-submitted:
76 - wipe-org-opendaylight-repo
81 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
82 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
83 settings: '{vtn-settings}'
84 global-settings: '{odl-global-settings}'
85 ignore-upstream-changes: true
88 - jacoco-nojava-workaround
96 name: 'vtn-merge-{stream}'
98 # Job template for ODL merge jobs
100 # The purpose of this job template is to setup a ODL merge job
101 # and deploy artifacts to Nexus.
103 # Required Variables:
104 # stream: branch with - in place of / (eg. stable-helium)
105 # branch: branch (eg. stable/helium)
112 daysToKeep: '{build-days-to-keep}'
113 numToKeep: '{build-num-to-keep}'
114 artifactDaysToKeep: '{build-artifact-days-to-keep}'
115 artifactNumToKeep: '{build-artifact-num-to-keep}'
122 - gerrit-trigger-scm:
123 credentials-id: '{ssh-credentials}'
125 choosing-strategy: 'default'
129 - ssh-agent-credentials:
130 user: '{ssh-credentials}'
133 - gerrit-trigger-patch-merged:
138 - wipe-org-opendaylight-repo
141 maven-name: '{mvn32}'
143 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
144 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
145 settings: '{vtn-settings}'
146 global-settings: '{odl-global-settings}'
149 - jacoco-nojava-workaround
153 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
154 - email-notification:
155 email-prefix: '[vtn]'
159 deploy-unstable: false
163 name: 'vtn-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: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
209 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
210 settings: '{vtn-settings}'
211 global-settings: '{odl-global-settings}'
214 - jacoco-nojava-workaround
217 - email-notification:
218 email-prefix: '[vtn]'
222 name: 'vtn-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},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream}'
265 - wipe-org-opendaylight-repo
268 maven-name: '{mvn32}'
270 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
271 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
272 settings: '{vtn-settings}'
273 global-settings: '{odl-global-settings}'
276 - jacoco-nojava-workaround
279 - email-notification:
280 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin]'
284 deploy-unstable: false
297 artifactDaysToKeep: '1'
298 artifactNumToKeep: '1'
306 credentials-id: '{ssh-credentials}'
312 - ssh-agent-credentials:
313 user: '{ssh-credentials}'
319 maven-name: '{mvn32}'
321 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
322 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
323 settings: '{vtn-settings}'
324 global-settings: '{odl-global-settings}'
327 - jacoco-nojava-workaround
332 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
333 - email-notification:
334 email-prefix: '[vtn]'