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 - '{name}-clm-{stream}'
10 - '{name}-distribution-{stream}'
11 - '{name}-distribution-check-{stream}'
12 - '{name}-integration-{stream}'
13 - '{name}-periodic-{stream}'
14 - '{name}-validate-autorelease-{stream}'
15 - 'persistence-verify-{stream}'
16 - 'persistence-merge-{stream}'
20 # stream: release stream (eg. stable-lithium or beryllium)
21 # branch: git branch (eg. stable/lithium or master)
29 disable_autorelease: True
30 disable_distribution_check: False
32 branch: 'stable/beryllium'
37 disable_autorelease: True
38 disable_distribution_check: False
40 branch: 'stable/lithium'
45 disable_autorelease: True
46 disable_distribution_check: True
48 project: 'persistence'
49 mvn-settings: 'persistence-settings'
50 mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
51 mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
52 dependencies: 'odlparent-merge-{stream}'
53 email-upstream: '[persistence] [odlparent]'
55 # For the Job templates below replace instances of:
56 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
57 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
58 # MAVEN_GOALS with your maven goals to build
59 # MAVEN_OPTS with your maven options to build
62 name: 'persistence-verify-{stream}'
64 # Job template for ODL verify jobs
66 # The purpose of this job template is to setup a ODL verify job
69 # stream: release stream (eg. stable-lithium or beryllium)
70 # branch: git branch (eg. stable/lithium or master)
95 refspec: 'refs/heads/{branch}'
99 refspec: '$GERRIT_REFSPEC'
100 choosing-strategy: 'gerrit'
103 - opendaylight-infra-wrappers:
104 build-timeout: '{build-timeout}'
107 - gerrit-trigger-patch-submitted:
112 - jacoco-nojava-workaround
113 - provide-maven-settings:
114 global-settings-file: 'odl-global-settings'
115 settings-file: 'persistence-settings'
117 maven-version: '{mvn33}'
119 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}'
121 - '-Xmx1024m -XX:MaxPermSize=256m'
122 settings: 'persistence-settings'
124 global-settings: 'odl-global-settings'
125 global-settings-type: cfp
129 artifacts: '**/target/surefire-reports/*-output.txt, '
131 - email-notification:
132 email-prefix: '[persistence]'
135 maven-version: '{mvn33}'
138 name: 'persistence-merge-{stream}'
140 # Job template for ODL merge jobs
142 # The purpose of this job template is to setup a ODL merge job
143 # and deploy artifacts to Nexus.
145 # Required Variables:
146 # stream: release stream (eg. stable-lithium or beryllium)
147 # branch: git branch (eg. stable/lithium or master)
156 artifactDaysToKeep: '{build-artifact-days-to-keep}'
157 artifactNumToKeep: '{build-artifact-num-to-keep}'
165 refspec: 'refs/heads/{branch}'
168 - gerrit-trigger-scm:
170 choosing-strategy: 'default'
173 - opendaylight-infra-wrappers:
174 build-timeout: '{build-timeout}'
178 - gerrit-trigger-patch-merged:
183 - jacoco-nojava-workaround
184 - provide-maven-settings:
185 global-settings-file: 'odl-global-settings'
186 settings-file: 'persistence-settings'
189 maven-name: '{mvn33}'
191 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}'
192 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
193 settings: 'persistence-settings'
195 global-settings: 'odl-global-settings'
196 global-settings-type: cfp
197 post-step-run-condition: UNSTABLE
201 condition-kind: file-exists
202 condition-filename: deploy-site.xml
203 condition-basedir: workspace
205 # The strategy here is intentional to run Maven site:deploy twice
206 # once using regular pom.xml to produce a staged-site which is
207 # then used by deploy-site.xml to push to Nexus. This is a
208 # workaround to Maven Site's default linking code which creates
209 # incorrect URLs for sites due to auto-detection assuming your
210 # project is configured in a certain way which ODL is not.
213 maven-version: '{mvn33}'
215 goals: 'site:deploy -V -B -Dstream={stream}'
218 settings: 'persistence-settings'
220 global-settings: 'odl-global-settings'
221 global-settings-type: cfp
223 maven-version: '{mvn33}'
225 goals: 'site:deploy -V -B -Dstream={stream}'
228 settings: 'persistence-settings'
230 global-settings: 'odl-global-settings'
231 global-settings-type: cfp
238 artifacts: '**/target/surefire-reports/*-output.txt, '
239 - email-notification:
240 email-prefix: '[persistence]'
244 deploy-unstable: false
247 maven-version: '{mvn33}'
250 name: 'persistence-sonar'
260 artifactDaysToKeep: '1'
261 artifactNumToKeep: '1'
273 - opendaylight-infra-wrappers:
274 build-timeout: '{build-timeout}'
278 - gerrit-trigger-patch-sonar:
282 - jacoco-nojava-workaround
283 - provide-maven-settings:
284 global-settings-file: 'odl-global-settings'
285 settings-file: 'persistence-settings'
288 maven-name: '{mvn33}'
290 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
291 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
292 settings: 'persistence-settings'
294 global-settings: 'odl-global-settings'
295 global-settings-type: cfp
303 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
304 - email-notification:
305 email-prefix: '[persistence]'
308 maven-version: '{mvn33}'