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 - 'infrautils-verify-{stream}'
16 - 'infrautils-merge-{stream}'
20 # stream: release stream (eg. stable-lithium or beryllium)
21 # branch: git branch (eg. stable/lithium or master)
28 disable_autorelease: False
29 disable_distribution_check: False
32 mvn-settings: 'infrautils-settings'
33 mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
34 mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
35 dependencies: 'odlparent-merge-{stream}'
36 email-upstream: '[infrautils] [odlparent]'
38 # For the Job templates below replace instances of:
39 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
40 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
41 # MAVEN_GOALS with your maven goals to build
42 # MAVEN_OPTS with your maven options to build
45 name: 'infrautils-verify-{stream}'
47 # Job template for ODL verify jobs
49 # The purpose of this job template is to setup a ODL verify job
52 # stream: release stream (eg. stable-lithium or beryllium)
53 # branch: git branch (eg. stable/lithium or master)
73 - opendaylight-infra-parameters:
76 refspec: 'refs/heads/{branch}'
77 artifacts: '{archive-artifacts}'
81 refspec: '$GERRIT_REFSPEC'
82 choosing-strategy: 'gerrit'
85 - opendaylight-infra-wrappers:
86 build-timeout: '{build-timeout}'
89 - gerrit-trigger-patch-submitted:
94 - jacoco-nojava-workaround
95 - provide-maven-settings:
96 global-settings-file: 'odl-global-settings'
97 settings-file: 'infrautils-settings'
99 maven-version: '{mvn33}'
101 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}'
103 - '-Xmx1024m -XX:MaxPermSize=256m'
104 settings: 'infrautils-settings'
106 global-settings: 'odl-global-settings'
107 global-settings-type: cfp
111 artifacts: '**/target/surefire-reports/*-output.txt, '
113 - email-notification:
114 email-prefix: '[infrautils]'
117 maven-version: '{mvn33}'
120 name: 'infrautils-merge-{stream}'
122 # Job template for ODL merge jobs
124 # The purpose of this job template is to setup a ODL merge job
125 # and deploy artifacts to Nexus.
127 # Required Variables:
128 # stream: release stream (eg. stable-lithium or beryllium)
129 # branch: git branch (eg. stable/lithium or master)
138 artifactDaysToKeep: '{build-artifact-days-to-keep}'
139 artifactNumToKeep: '{build-artifact-num-to-keep}'
142 - opendaylight-infra-parameters:
145 refspec: 'refs/heads/{branch}'
146 artifacts: '{archive-artifacts}'
149 - gerrit-trigger-scm:
151 choosing-strategy: 'default'
154 - opendaylight-infra-wrappers:
155 build-timeout: '{build-timeout}'
159 - gerrit-trigger-patch-merged:
164 - jacoco-nojava-workaround
165 - provide-maven-settings:
166 global-settings-file: 'odl-global-settings'
167 settings-file: 'infrautils-settings'
170 maven-name: '{mvn33}'
172 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}'
173 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
174 settings: 'infrautils-settings'
176 global-settings: 'odl-global-settings'
177 global-settings-type: cfp
178 post-step-run-condition: UNSTABLE
182 condition-kind: file-exists
183 condition-filename: deploy-site.xml
184 condition-basedir: workspace
186 # The strategy here is intentional to run Maven site:deploy twice
187 # once using regular pom.xml to produce a staged-site which is
188 # then used by deploy-site.xml to push to Nexus. This is a
189 # workaround to Maven Site's default linking code which creates
190 # incorrect URLs for sites due to auto-detection assuming your
191 # project is configured in a certain way which ODL is not.
194 maven-version: '{mvn33}'
196 goals: 'site:deploy -V -B -Dstream={stream}'
199 settings: 'infrautils-settings'
201 global-settings: 'odl-global-settings'
202 global-settings-type: cfp
204 maven-version: '{mvn33}'
206 goals: 'site:deploy -V -B -Dstream={stream}'
209 settings: 'infrautils-settings'
211 global-settings: 'odl-global-settings'
212 global-settings-type: cfp
219 artifacts: '**/target/surefire-reports/*-output.txt, '
220 - email-notification:
221 email-prefix: '[infrautils]'
225 deploy-unstable: false
228 maven-version: '{mvn33}'
231 name: 'infrautils-sonar'
241 artifactDaysToKeep: '1'
242 artifactNumToKeep: '1'
245 - opendaylight-infra-parameters:
248 refspec: 'refs/heads/{branch}'
249 artifacts: '{archive-artifacts}'
257 - opendaylight-infra-wrappers:
258 build-timeout: '{build-timeout}'
262 - gerrit-trigger-patch-sonar:
266 - jacoco-nojava-workaround
267 - provide-maven-settings:
268 global-settings-file: 'odl-global-settings'
269 settings-file: 'infrautils-settings'
272 maven-name: '{mvn33}'
274 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
275 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
276 settings: 'infrautils-settings'
278 global-settings: 'odl-global-settings'
279 global-settings-type: cfp
287 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
288 - email-notification:
289 email-prefix: '[infrautils]'
292 maven-version: '{mvn33}'