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}'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
22 branch: 'stable/helium'
27 # For the Job templates below replace instances of:
28 # PROJECT with your project name (eg. controller)
29 # MAVEN_GOALS with your maven goals to build
30 # MAVEN_OPTS with your maven options to build
33 name: 'vtn-verify-{stream}'
35 # Job template for ODL verify jobs
37 # The purpose of this job template is to setup a ODL verify job
40 # stream: branch with - in place of / (eg. stable-helium)
41 # branch: branch (eg. stable/helium)
60 daysToKeep: '{build-days-to-keep}'
61 numToKeep: '{build-num-to-keep}'
62 artifactDaysToKeep: '{build-artifact-days-to-keep}'
63 artifactNumToKeep: '{build-artifact-num-to-keep}'
73 credentials-id: '{ssh-credentials}'
74 refspec: '$GERRIT_REFSPEC'
75 choosing-strategy: 'gerrit'
79 - ssh-agent-credentials:
80 user: '{ssh-credentials}'
83 - gerrit-trigger-patch-submitted:
88 - wipe-org-opendaylight-repo
90 maven-version: '{mvn32}'
92 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
94 - '-Xmx1024m -XX:MaxPermSize=256m'
95 settings: '{vtn-settings}'
96 global-settings: '{odl-global-settings}'
97 - jacoco-nojava-workaround
100 - email-notification:
101 email-prefix: '[vtn]'
105 name: 'vtn-merge-{stream}'
107 # Job template for ODL merge jobs
109 # The purpose of this job template is to setup a ODL merge job
110 # and deploy artifacts to Nexus.
112 # Required Variables:
113 # stream: branch with - in place of / (eg. stable-helium)
114 # branch: branch (eg. stable/helium)
121 daysToKeep: '{build-days-to-keep}'
122 numToKeep: '{build-num-to-keep}'
123 artifactDaysToKeep: '{build-artifact-days-to-keep}'
124 artifactNumToKeep: '{build-artifact-num-to-keep}'
131 - gerrit-trigger-scm:
132 credentials-id: '{ssh-credentials}'
134 choosing-strategy: 'default'
138 - ssh-agent-credentials:
139 user: '{ssh-credentials}'
142 - gerrit-trigger-patch-merged:
147 - wipe-org-opendaylight-repo
150 maven-name: '{mvn32}'
152 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'
153 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
154 settings: '{vtn-settings}'
155 global-settings: '{odl-global-settings}'
158 - jacoco-nojava-workaround
165 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
166 - email-notification:
167 email-prefix: '[vtn]'
171 deploy-unstable: false
175 name: 'vtn-daily-{stream}'
177 # Job template for daily builders
179 # The purpose of this job template is to setup a daily/nightly
180 # builder and pushes to Sonar analysis.
182 # Required Variables:
183 # stream: branch with - in place of / (eg. stable-helium)
184 # branch: branch (eg. stable/helium)
191 daysToKeep: '{build-days-to-keep}'
192 numToKeep: '{build-num-to-keep}'
193 artifactDaysToKeep: '{build-artifact-days-to-keep}'
194 artifactNumToKeep: '{build-artifact-num-to-keep}'
202 credentials-id: '{ssh-credentials}'
208 - ssh-agent-credentials:
209 user: '{ssh-credentials}'
215 - wipe-org-opendaylight-repo
218 maven-name: '{mvn32}'
220 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'
221 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
222 settings: '{vtn-settings}'
223 global-settings: '{odl-global-settings}'
226 - jacoco-nojava-workaround
232 - email-notification:
233 email-prefix: '[vtn]'
237 name: 'vtn-integration-{stream}'
240 # Job template for ODL merge jobs
242 # The purpose of this job template is to setup a ODL merge job
243 # and deploy artifacts to Nexus.
245 # Required Variables:
246 # stream: branch with - in place of / (eg. stable-helium)
247 # branch: branch (eg. stable/helium)
254 daysToKeep: '{build-days-to-keep}'
255 numToKeep: '{build-num-to-keep}'
256 artifactDaysToKeep: '{build-artifact-days-to-keep}'
257 artifactNumToKeep: '{build-artifact-num-to-keep}'
265 credentials-id: '{ssh-credentials}'
271 - ssh-agent-credentials:
272 user: '{ssh-credentials}'
276 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}'
280 - wipe-org-opendaylight-repo
283 maven-name: '{mvn32}'
285 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'
286 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
287 settings: '{vtn-settings}'
288 global-settings: '{odl-global-settings}'
291 - jacoco-nojava-workaround
297 - email-notification:
298 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]'
311 artifactDaysToKeep: '1'
312 artifactNumToKeep: '1'
320 credentials-id: '{ssh-credentials}'
326 - ssh-agent-credentials:
327 user: '{ssh-credentials}'
333 maven-name: '{mvn32}'
335 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'
336 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
337 settings: '{vtn-settings}'
338 global-settings: '{odl-global-settings}'
341 - jacoco-nojava-workaround
349 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
350 - email-notification:
351 email-prefix: '[vtn]'