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 - 'coretutorials-verify-{stream}'
16 - 'coretutorials-merge-{stream}'
17 - 'coretutorials-sonar'
20 # stream: release stream (eg. stable-lithium or beryllium)
21 # branch: git branch (eg. stable/lithium or master)
28 disable_autorelease: True
29 disable_distribution_check: False
31 branch: 'stable/beryllium'
35 disable_autorelease: True
36 disable_distribution_check: False
38 branch: 'stable/lithium'
42 disable_autorelease: True
43 disable_distribution_check: True
45 project: 'coretutorials'
46 mvn-settings: 'coretutorials-settings'
47 mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
48 mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
49 dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
50 email-upstream: '[coretutorials] [odlparent] [yangtools] [controller]'
52 # For the Job templates below replace instances of:
53 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
54 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
55 # MAVEN_GOALS with your maven goals to build
56 # MAVEN_OPTS with your maven options to build
59 name: 'coretutorials-verify-{stream}'
61 # Job template for ODL verify jobs
63 # The purpose of this job template is to setup a ODL verify job
66 # stream: release stream (eg. stable-lithium or beryllium)
67 # branch: git branch (eg. stable/lithium or master)
92 refspec: 'refs/heads/{branch}'
96 refspec: '$GERRIT_REFSPEC'
97 choosing-strategy: 'gerrit'
100 - opendaylight-infra-wrappers:
101 build-timeout: '{build-timeout}'
104 - gerrit-trigger-patch-submitted:
105 name: 'coretutorials'
109 - jacoco-nojava-workaround
110 - provide-maven-settings:
111 global-settings-file: 'odl-global-settings'
112 settings-file: 'coretutorials-settings'
114 maven-version: '{mvn33}'
116 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}'
118 - '-Xmx1024m -XX:MaxPermSize=256m'
119 settings: 'coretutorials-settings'
121 global-settings: 'odl-global-settings'
122 global-settings-type: cfp
126 artifacts: '**/target/surefire-reports/*-output.txt, '
128 - email-notification:
129 email-prefix: '[coretutorials]'
132 maven-version: '{mvn33}'
135 name: 'coretutorials-merge-{stream}'
137 # Job template for ODL merge jobs
139 # The purpose of this job template is to setup a ODL merge job
140 # and deploy artifacts to Nexus.
142 # Required Variables:
143 # stream: release stream (eg. stable-lithium or beryllium)
144 # branch: git branch (eg. stable/lithium or master)
153 artifactDaysToKeep: '{build-artifact-days-to-keep}'
154 artifactNumToKeep: '{build-artifact-num-to-keep}'
162 refspec: 'refs/heads/{branch}'
165 - gerrit-trigger-scm:
167 choosing-strategy: 'default'
170 - opendaylight-infra-wrappers:
171 build-timeout: '{build-timeout}'
175 - gerrit-trigger-patch-merged:
176 name: 'coretutorials'
180 - jacoco-nojava-workaround
181 - provide-maven-settings:
182 global-settings-file: 'odl-global-settings'
183 settings-file: 'coretutorials-settings'
186 maven-name: '{mvn33}'
188 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}'
189 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
190 settings: 'coretutorials-settings'
192 global-settings: 'odl-global-settings'
193 global-settings-type: cfp
194 post-step-run-condition: UNSTABLE
198 condition-kind: file-exists
199 condition-filename: deploy-site.xml
200 condition-basedir: workspace
202 # The strategy here is intentional to run Maven site:deploy twice
203 # once using regular pom.xml to produce a staged-site which is
204 # then used by deploy-site.xml to push to Nexus. This is a
205 # workaround to Maven Site's default linking code which creates
206 # incorrect URLs for sites due to auto-detection assuming your
207 # project is configured in a certain way which ODL is not.
210 maven-version: '{mvn33}'
212 goals: 'site:deploy -V -B -Dstream={stream}'
215 settings: 'coretutorials-settings'
217 global-settings: 'odl-global-settings'
218 global-settings-type: cfp
220 maven-version: '{mvn33}'
222 goals: 'site:deploy -V -B -Dstream={stream}'
225 settings: 'coretutorials-settings'
227 global-settings: 'odl-global-settings'
228 global-settings-type: cfp
235 artifacts: '**/target/surefire-reports/*-output.txt, '
236 - email-notification:
237 email-prefix: '[coretutorials]'
241 deploy-unstable: false
244 maven-version: '{mvn33}'
247 name: 'coretutorials-sonar'
257 artifactDaysToKeep: '1'
258 artifactNumToKeep: '1'
270 - opendaylight-infra-wrappers:
271 build-timeout: '{build-timeout}'
275 - gerrit-trigger-patch-sonar:
276 name: 'coretutorials'
279 - jacoco-nojava-workaround
280 - provide-maven-settings:
281 global-settings-file: 'odl-global-settings'
282 settings-file: 'coretutorials-settings'
285 maven-name: '{mvn33}'
287 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
288 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
289 settings: 'coretutorials-settings'
291 global-settings: 'odl-global-settings'
292 global-settings-type: cfp
300 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
301 - email-notification:
302 email-prefix: '[coretutorials]'
305 maven-version: '{mvn33}'