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)
87 - opendaylight-infra-parameters:
90 refspec: 'refs/heads/{branch}'
91 artifacts: '{archive-artifacts}'
95 refspec: '$GERRIT_REFSPEC'
96 choosing-strategy: 'gerrit'
99 - opendaylight-infra-wrappers:
100 build-timeout: '{build-timeout}'
103 - gerrit-trigger-patch-submitted:
104 name: 'coretutorials'
108 - jacoco-nojava-workaround
109 - provide-maven-settings:
110 global-settings-file: 'odl-global-settings'
111 settings-file: 'coretutorials-settings'
113 maven-version: '{mvn33}'
115 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}'
117 - '-Xmx1024m -XX:MaxPermSize=256m'
118 settings: 'coretutorials-settings'
120 global-settings: 'odl-global-settings'
121 global-settings-type: cfp
125 artifacts: '**/target/surefire-reports/*-output.txt, '
127 - email-notification:
128 email-prefix: '[coretutorials]'
131 maven-version: '{mvn33}'
134 name: 'coretutorials-merge-{stream}'
136 # Job template for ODL merge jobs
138 # The purpose of this job template is to setup a ODL merge job
139 # and deploy artifacts to Nexus.
141 # Required Variables:
142 # stream: release stream (eg. stable-lithium or beryllium)
143 # branch: git branch (eg. stable/lithium or master)
152 artifactDaysToKeep: '{build-artifact-days-to-keep}'
153 artifactNumToKeep: '{build-artifact-num-to-keep}'
156 - opendaylight-infra-parameters:
159 refspec: 'refs/heads/{branch}'
160 artifacts: '{archive-artifacts}'
163 - gerrit-trigger-scm:
165 choosing-strategy: 'default'
168 - opendaylight-infra-wrappers:
169 build-timeout: '{build-timeout}'
173 - gerrit-trigger-patch-merged:
174 name: 'coretutorials'
178 - jacoco-nojava-workaround
179 - provide-maven-settings:
180 global-settings-file: 'odl-global-settings'
181 settings-file: 'coretutorials-settings'
184 maven-name: '{mvn33}'
186 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}'
187 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
188 settings: 'coretutorials-settings'
190 global-settings: 'odl-global-settings'
191 global-settings-type: cfp
192 post-step-run-condition: UNSTABLE
196 condition-kind: file-exists
197 condition-filename: deploy-site.xml
198 condition-basedir: workspace
200 # The strategy here is intentional to run Maven site:deploy twice
201 # once using regular pom.xml to produce a staged-site which is
202 # then used by deploy-site.xml to push to Nexus. This is a
203 # workaround to Maven Site's default linking code which creates
204 # incorrect URLs for sites due to auto-detection assuming your
205 # project is configured in a certain way which ODL is not.
208 maven-version: '{mvn33}'
210 goals: 'site:deploy -V -B -Dstream={stream}'
213 settings: 'coretutorials-settings'
215 global-settings: 'odl-global-settings'
216 global-settings-type: cfp
218 maven-version: '{mvn33}'
220 goals: 'site:deploy -V -B -Dstream={stream}'
223 settings: 'coretutorials-settings'
225 global-settings: 'odl-global-settings'
226 global-settings-type: cfp
233 artifacts: '**/target/surefire-reports/*-output.txt, '
234 - email-notification:
235 email-prefix: '[coretutorials]'
239 deploy-unstable: false
242 maven-version: '{mvn33}'
245 name: 'coretutorials-sonar'
255 artifactDaysToKeep: '1'
256 artifactNumToKeep: '1'
259 - opendaylight-infra-parameters:
262 refspec: 'refs/heads/{branch}'
263 artifacts: '{archive-artifacts}'
271 - opendaylight-infra-wrappers:
272 build-timeout: '{build-timeout}'
276 - gerrit-trigger-patch-sonar:
277 name: 'coretutorials'
280 - jacoco-nojava-workaround
281 - provide-maven-settings:
282 global-settings-file: 'odl-global-settings'
283 settings-file: 'coretutorials-settings'
286 maven-name: '{mvn33}'
288 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
289 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
290 settings: 'coretutorials-settings'
292 global-settings: 'odl-global-settings'
293 global-settings-type: cfp
301 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
302 - email-notification:
303 email-prefix: '[coretutorials]'
306 maven-version: '{mvn33}'