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
93 name: 'vtn-merge-{stream}'
95 # Job template for ODL merge jobs
97 # The purpose of this job template is to setup a ODL merge job
98 # and deploy artifacts to Nexus.
100 # Required Variables:
101 # stream: branch with - in place of / (eg. stable-helium)
102 # branch: branch (eg. stable/helium)
109 daysToKeep: '{build-days-to-keep}'
110 numToKeep: '{build-num-to-keep}'
111 artifactDaysToKeep: '{build-artifact-days-to-keep}'
112 artifactNumToKeep: '{build-artifact-num-to-keep}'
119 - gerrit-trigger-scm:
120 credentials-id: '{ssh-credentials}'
122 choosing-strategy: 'default'
126 - ssh-agent-credentials:
127 user: '{ssh-credentials}'
130 - gerrit-trigger-patch-merged:
135 - wipe-org-opendaylight-repo
138 maven-name: '{mvn32}'
140 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'
141 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
142 settings: '{vtn-settings}'
143 global-settings: '{odl-global-settings}'
147 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
148 - email-notification:
149 email-prefix: '[vtn]'
153 deploy-unstable: false
157 name: 'vtn-daily-{stream}'
159 # Job template for daily builders
161 # The purpose of this job template is to setup a daily/nightly
162 # builder and pushes to Sonar analysis.
164 # Required Variables:
165 # stream: branch with - in place of / (eg. stable-helium)
166 # branch: branch (eg. stable/helium)
173 daysToKeep: '{build-days-to-keep}'
174 numToKeep: '{build-num-to-keep}'
175 artifactDaysToKeep: '{build-artifact-days-to-keep}'
176 artifactNumToKeep: '{build-artifact-num-to-keep}'
184 credentials-id: '{ssh-credentials}'
190 - ssh-agent-credentials:
191 user: '{ssh-credentials}'
197 - wipe-org-opendaylight-repo
200 maven-name: '{mvn32}'
202 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'
203 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
204 settings: '{vtn-settings}'
205 global-settings: '{odl-global-settings}'
208 - email-notification:
209 email-prefix: '[vtn]'
213 name: 'vtn-integration-{stream}'
216 # Job template for ODL merge jobs
218 # The purpose of this job template is to setup a ODL merge job
219 # and deploy artifacts to Nexus.
221 # Required Variables:
222 # stream: branch with - in place of / (eg. stable-helium)
223 # branch: branch (eg. stable/helium)
230 daysToKeep: '{build-days-to-keep}'
231 numToKeep: '{build-num-to-keep}'
232 artifactDaysToKeep: '{build-artifact-days-to-keep}'
233 artifactNumToKeep: '{build-artifact-num-to-keep}'
241 credentials-id: '{ssh-credentials}'
247 - ssh-agent-credentials:
248 user: '{ssh-credentials}'
252 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream}'
256 - wipe-org-opendaylight-repo
259 maven-name: '{mvn32}'
261 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'
262 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
263 settings: '{vtn-settings}'
264 global-settings: '{odl-global-settings}'
267 - email-notification:
268 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin]'
272 deploy-unstable: false
285 artifactDaysToKeep: '1'
286 artifactNumToKeep: '1'
294 credentials-id: '{ssh-credentials}'
300 - ssh-agent-credentials:
301 user: '{ssh-credentials}'
307 maven-name: '{mvn32}'
309 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'
310 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
311 settings: '{vtn-settings}'
312 global-settings: '{odl-global-settings}'
317 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
318 - email-notification:
319 email-prefix: '[vtn]'