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)
90 - opendaylight-infra-parameters:
93 refspec: 'refs/heads/{branch}'
94 artifacts: '{archive-artifacts}'
98 refspec: '$GERRIT_REFSPEC'
99 choosing-strategy: 'gerrit'
102 - opendaylight-infra-wrappers:
103 build-timeout: '{build-timeout}'
106 - gerrit-trigger-patch-submitted:
111 - jacoco-nojava-workaround
112 - provide-maven-settings:
113 global-settings-file: 'odl-global-settings'
114 settings-file: 'persistence-settings'
116 maven-version: '{mvn33}'
118 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}'
120 - '-Xmx1024m -XX:MaxPermSize=256m'
121 settings: 'persistence-settings'
123 global-settings: 'odl-global-settings'
124 global-settings-type: cfp
128 artifacts: '**/target/surefire-reports/*-output.txt, '
130 - email-notification:
131 email-prefix: '[persistence]'
134 maven-version: '{mvn33}'
137 name: 'persistence-merge-{stream}'
139 # Job template for ODL merge jobs
141 # The purpose of this job template is to setup a ODL merge job
142 # and deploy artifacts to Nexus.
144 # Required Variables:
145 # stream: release stream (eg. stable-lithium or beryllium)
146 # branch: git branch (eg. stable/lithium or master)
155 artifactDaysToKeep: '{build-artifact-days-to-keep}'
156 artifactNumToKeep: '{build-artifact-num-to-keep}'
159 - opendaylight-infra-parameters:
162 refspec: 'refs/heads/{branch}'
163 artifacts: '{archive-artifacts}'
166 - gerrit-trigger-scm:
168 choosing-strategy: 'default'
171 - opendaylight-infra-wrappers:
172 build-timeout: '{build-timeout}'
176 - gerrit-trigger-patch-merged:
181 - jacoco-nojava-workaround
182 - provide-maven-settings:
183 global-settings-file: 'odl-global-settings'
184 settings-file: 'persistence-settings'
187 maven-name: '{mvn33}'
189 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}'
190 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
191 settings: 'persistence-settings'
193 global-settings: 'odl-global-settings'
194 global-settings-type: cfp
195 post-step-run-condition: UNSTABLE
199 condition-kind: file-exists
200 condition-filename: deploy-site.xml
201 condition-basedir: workspace
203 # The strategy here is intentional to run Maven site:deploy twice
204 # once using regular pom.xml to produce a staged-site which is
205 # then used by deploy-site.xml to push to Nexus. This is a
206 # workaround to Maven Site's default linking code which creates
207 # incorrect URLs for sites due to auto-detection assuming your
208 # project is configured in a certain way which ODL is not.
211 maven-version: '{mvn33}'
213 goals: 'site:deploy -V -B -Dstream={stream}'
216 settings: 'persistence-settings'
218 global-settings: 'odl-global-settings'
219 global-settings-type: cfp
221 maven-version: '{mvn33}'
223 goals: 'site:deploy -V -B -Dstream={stream}'
226 settings: 'persistence-settings'
228 global-settings: 'odl-global-settings'
229 global-settings-type: cfp
236 artifacts: '**/target/surefire-reports/*-output.txt, '
237 - email-notification:
238 email-prefix: '[persistence]'
242 deploy-unstable: false
245 maven-version: '{mvn33}'
248 name: 'persistence-sonar'
258 artifactDaysToKeep: '1'
259 artifactNumToKeep: '1'
262 - opendaylight-infra-parameters:
265 refspec: 'refs/heads/{branch}'
266 artifacts: '{archive-artifacts}'
274 - opendaylight-infra-wrappers:
275 build-timeout: '{build-timeout}'
279 - gerrit-trigger-patch-sonar:
283 - jacoco-nojava-workaround
284 - provide-maven-settings:
285 global-settings-file: 'odl-global-settings'
286 settings-file: 'persistence-settings'
289 maven-name: '{mvn33}'
291 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
292 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
293 settings: 'persistence-settings'
295 global-settings: 'odl-global-settings'
296 global-settings-type: cfp
304 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
305 - email-notification:
306 email-prefix: '[persistence]'
309 maven-version: '{mvn33}'