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 - 'discovery-verify-{stream}'
16 - 'discovery-merge-{stream}'
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
39 mvn-settings: 'discovery-settings'
40 mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
41 mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
42 dependencies: 'odlparent-merge-{stream}'
43 email-upstream: '[discovery] [odlparent]'
45 # For the Job templates below replace instances of:
46 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
47 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
48 # MAVEN_GOALS with your maven goals to build
49 # MAVEN_OPTS with your maven options to build
52 name: 'discovery-verify-{stream}'
54 # Job template for ODL verify jobs
56 # The purpose of this job template is to setup a ODL verify job
59 # stream: release stream (eg. stable-lithium or beryllium)
60 # branch: git branch (eg. stable/lithium or master)
80 - opendaylight-infra-parameters:
83 refspec: 'refs/heads/{branch}'
84 artifacts: '{archive-artifacts}'
88 refspec: '$GERRIT_REFSPEC'
89 choosing-strategy: 'gerrit'
92 - opendaylight-infra-wrappers:
93 build-timeout: '{build-timeout}'
96 - gerrit-trigger-patch-submitted:
101 - jacoco-nojava-workaround
102 - provide-maven-settings:
103 global-settings-file: 'odl-global-settings'
104 settings-file: 'discovery-settings'
106 maven-version: '{mvn33}'
108 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}'
110 - '-Xmx1024m -XX:MaxPermSize=256m'
111 settings: 'discovery-settings'
113 global-settings: 'odl-global-settings'
114 global-settings-type: cfp
118 artifacts: '**/target/surefire-reports/*-output.txt, '
120 - email-notification:
121 email-prefix: '[discovery]'
124 maven-version: '{mvn33}'
127 name: 'discovery-merge-{stream}'
129 # Job template for ODL merge jobs
131 # The purpose of this job template is to setup a ODL merge job
132 # and deploy artifacts to Nexus.
134 # Required Variables:
135 # stream: release stream (eg. stable-lithium or beryllium)
136 # branch: git branch (eg. stable/lithium or master)
145 artifactDaysToKeep: '{build-artifact-days-to-keep}'
146 artifactNumToKeep: '{build-artifact-num-to-keep}'
149 - opendaylight-infra-parameters:
152 refspec: 'refs/heads/{branch}'
153 artifacts: '{archive-artifacts}'
156 - gerrit-trigger-scm:
158 choosing-strategy: 'default'
161 - opendaylight-infra-wrappers:
162 build-timeout: '{build-timeout}'
166 - gerrit-trigger-patch-merged:
171 - jacoco-nojava-workaround
172 - provide-maven-settings:
173 global-settings-file: 'odl-global-settings'
174 settings-file: 'discovery-settings'
177 maven-name: '{mvn33}'
179 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}'
180 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
181 settings: 'discovery-settings'
183 global-settings: 'odl-global-settings'
184 global-settings-type: cfp
185 post-step-run-condition: UNSTABLE
189 condition-kind: file-exists
190 condition-filename: deploy-site.xml
191 condition-basedir: workspace
193 # The strategy here is intentional to run Maven site:deploy twice
194 # once using regular pom.xml to produce a staged-site which is
195 # then used by deploy-site.xml to push to Nexus. This is a
196 # workaround to Maven Site's default linking code which creates
197 # incorrect URLs for sites due to auto-detection assuming your
198 # project is configured in a certain way which ODL is not.
201 maven-version: '{mvn33}'
203 goals: 'site:deploy -V -B -Dstream={stream}'
206 settings: 'discovery-settings'
208 global-settings: 'odl-global-settings'
209 global-settings-type: cfp
211 maven-version: '{mvn33}'
213 goals: 'site:deploy -V -B -Dstream={stream}'
216 settings: 'discovery-settings'
218 global-settings: 'odl-global-settings'
219 global-settings-type: cfp
226 artifacts: '**/target/surefire-reports/*-output.txt, '
227 - email-notification:
228 email-prefix: '[discovery]'
232 deploy-unstable: false
235 maven-version: '{mvn33}'
238 name: 'discovery-sonar'
248 artifactDaysToKeep: '1'
249 artifactNumToKeep: '1'
252 - opendaylight-infra-parameters:
255 refspec: 'refs/heads/{branch}'
256 artifacts: '{archive-artifacts}'
264 - opendaylight-infra-wrappers:
265 build-timeout: '{build-timeout}'
269 - gerrit-trigger-patch-sonar:
273 - jacoco-nojava-workaround
274 - provide-maven-settings:
275 global-settings-file: 'odl-global-settings'
276 settings-file: 'discovery-settings'
279 maven-name: '{mvn33}'
281 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
282 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
283 settings: 'discovery-settings'
285 global-settings: 'odl-global-settings'
286 global-settings-type: cfp
294 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
295 - email-notification:
296 email-prefix: '[discovery]'
299 maven-version: '{mvn33}'