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 - 'usc-verify-{stream}'
10 - 'usc-merge-{stream}'
11 - 'usc-daily-{stream}'
12 - 'usc-integration-{stream}'
15 # stream: branch with - in place of / (eg. stable-helium)
16 # branch: branch (eg. stable/helium)
24 # For the Job templates below replace instances of:
25 # PROJECT with your project name (eg. controller)
26 # MAVEN_GOALS with your maven goals to build
27 # MAVEN_OPTS with your maven options to build
30 name: 'usc-verify-{stream}'
32 # Job template for ODL verify jobs
34 # The purpose of this job template is to setup a ODL verify job
37 # stream: branch with - in place of / (eg. stable-helium)
38 # branch: branch (eg. stable/helium)
46 daysToKeep: '{build-days-to-keep}'
47 numToKeep: '{build-num-to-keep}'
48 artifactDaysToKeep: '{build-artifact-days-to-keep}'
49 artifactNumToKeep: '{build-artifact-num-to-keep}'
59 credentials-id: '{ssh-credentials}'
60 refspec: '$GERRIT_REFSPEC'
61 choosing-strategy: 'gerrit'
65 - ssh-agent-credentials:
66 user: '{ssh-credentials}'
69 - gerrit-trigger-patch-submitted:
74 - wipe-org-opendaylight-repo
79 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
80 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
81 settings: '{usc-settings}'
82 global-settings: '{odl-global-settings}'
83 ignore-upstream-changes: true
91 name: 'usc-merge-{stream}'
93 # Job template for ODL merge jobs
95 # The purpose of this job template is to setup a ODL merge job
96 # and deploy artifacts to Nexus.
99 # stream: branch with - in place of / (eg. stable-helium)
100 # branch: branch (eg. stable/helium)
107 daysToKeep: '{build-days-to-keep}'
108 numToKeep: '{build-num-to-keep}'
109 artifactDaysToKeep: '{build-artifact-days-to-keep}'
110 artifactNumToKeep: '{build-artifact-num-to-keep}'
117 - gerrit-trigger-scm:
118 credentials-id: '{ssh-credentials}'
120 choosing-strategy: 'default'
124 - ssh-agent-credentials:
125 user: '{ssh-credentials}'
128 - gerrit-trigger-patch-merged:
133 - wipe-org-opendaylight-repo
136 maven-name: '{mvn32}'
138 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
139 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
140 settings: '{usc-settings}'
141 global-settings: '{odl-global-settings}'
145 - email-notification:
146 email-prefix: '[usc]'
150 deploy-unstable: false
154 name: 'usc-daily-{stream}'
156 # Job template for daily builders
158 # The purpose of this job template is to setup a daily/nightly
159 # builder and pushes to Sonar analysis.
161 # Required Variables:
162 # stream: branch with - in place of / (eg. stable-helium)
163 # branch: branch (eg. stable/helium)
170 daysToKeep: '{build-days-to-keep}'
171 numToKeep: '{build-num-to-keep}'
172 artifactDaysToKeep: '{build-artifact-days-to-keep}'
173 artifactNumToKeep: '{build-artifact-num-to-keep}'
181 credentials-id: '{ssh-credentials}'
187 - ssh-agent-credentials:
188 user: '{ssh-credentials}'
194 - wipe-org-opendaylight-repo
197 maven-name: '{mvn32}'
199 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
200 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
201 settings: '{usc-settings}'
202 global-settings: '{odl-global-settings}'
205 - email-notification:
206 email-prefix: '[usc]'
210 name: 'usc-integration-{stream}'
213 # Job template for ODL merge jobs
215 # The purpose of this job template is to setup a ODL merge job
216 # and deploy artifacts to Nexus.
218 # Required Variables:
219 # stream: branch with - in place of / (eg. stable-helium)
220 # branch: branch (eg. stable/helium)
227 daysToKeep: '{build-days-to-keep}'
228 numToKeep: '{build-num-to-keep}'
229 artifactDaysToKeep: '{build-artifact-days-to-keep}'
230 artifactNumToKeep: '{build-artifact-num-to-keep}'
238 credentials-id: '{ssh-credentials}'
244 - ssh-agent-credentials:
245 user: '{ssh-credentials}'
249 jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}'
253 - wipe-org-opendaylight-repo
256 maven-name: '{mvn32}'
258 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
259 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
260 settings: '{usc-settings}'
261 global-settings: '{odl-global-settings}'
264 - email-notification:
265 email-prefix: '[usc] [controller] [yangtools] [odlparent]'
269 deploy-unstable: false
282 artifactDaysToKeep: '1'
283 artifactNumToKeep: '1'
291 credentials-id: '{ssh-credentials}'
297 - ssh-agent-credentials:
298 user: '{ssh-credentials}'
304 maven-name: '{mvn32}'
306 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
307 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
308 settings: '{usc-settings}'
309 global-settings: '{odl-global-settings}'
314 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
315 - email-notification:
316 email-prefix: '[usc]'