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 - 'persistence-verify-{stream}'
10 - 'persistence-merge-{stream}'
11 - 'persistence-daily-{stream}'
12 - 'persistence-integration-{stream}'
15 # stream: branch with - in place of / (eg. stable-helium)
16 # branch: branch (eg. stable/helium)
21 project: 'persistence'
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: 'persistence-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=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
80 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
81 settings: '{persistence-settings}'
82 global-settings: '{odl-global-settings}'
83 ignore-upstream-changes: true
87 email-prefix: '[persistence]'
91 name: 'persistence-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=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo source:jar javadoc:jar'
139 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
140 settings: '{persistence-settings}'
141 global-settings: '{odl-global-settings}'
144 - email-notification:
145 email-prefix: '[persistence]'
149 deploy-unstable: false
153 name: 'persistence-daily-{stream}'
155 # Job template for daily builders
157 # The purpose of this job template is to setup a daily/nightly
158 # builder and pushes to Sonar analysis.
160 # Required Variables:
161 # stream: branch with - in place of / (eg. stable-helium)
162 # branch: branch (eg. stable/helium)
169 daysToKeep: '{build-days-to-keep}'
170 numToKeep: '{build-num-to-keep}'
171 artifactDaysToKeep: '{build-artifact-days-to-keep}'
172 artifactNumToKeep: '{build-artifact-num-to-keep}'
180 credentials-id: '{ssh-credentials}'
186 - ssh-agent-credentials:
187 user: '{ssh-credentials}'
193 - wipe-org-opendaylight-repo
196 maven-name: '{mvn32}'
198 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
199 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
200 settings: '{persistence-settings}'
201 global-settings: '{odl-global-settings}'
204 - email-notification:
205 email-prefix: '[persistence]'
209 name: 'persistence-integration-{stream}'
212 # Job template for ODL merge jobs
214 # The purpose of this job template is to setup a ODL merge job
215 # and deploy artifacts to Nexus.
217 # Required Variables:
218 # stream: branch with - in place of / (eg. stable-helium)
219 # branch: branch (eg. stable/helium)
226 daysToKeep: '{build-days-to-keep}'
227 numToKeep: '{build-num-to-keep}'
228 artifactDaysToKeep: '{build-artifact-days-to-keep}'
229 artifactNumToKeep: '{build-artifact-num-to-keep}'
237 credentials-id: '{ssh-credentials}'
243 - ssh-agent-credentials:
244 user: '{ssh-credentials}'
248 jobs: 'odlparent-merge-{stream}'
252 - wipe-org-opendaylight-repo
255 maven-name: '{mvn32}'
257 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo source:jar javadoc:jar'
258 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
259 settings: '{persistence-settings}'
260 global-settings: '{odl-global-settings}'
263 - email-notification:
264 email-prefix: '[persistence] [odlparent]'
268 deploy-unstable: false
272 name: 'persistence-sonar'
281 artifactDaysToKeep: '1'
282 artifactNumToKeep: '1'
290 credentials-id: '{ssh-credentials}'
296 - ssh-agent-credentials:
297 user: '{ssh-credentials}'
303 maven-name: '{mvn32}'
305 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo -Dsonar'
306 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
307 settings: '{persistence-settings}'
308 global-settings: '{odl-global-settings}'
313 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
314 - email-notification:
315 email-prefix: '[persistence]'