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 - 'genius-verify-{stream}'
16 - 'genius-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: 'genius-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: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
36 email-upstream: '[genius] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]'
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: 'genius-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)
78 refspec: 'refs/heads/{branch}'
82 refspec: '$GERRIT_REFSPEC'
83 choosing-strategy: 'gerrit'
86 - opendaylight-infra-wrappers:
87 build-timeout: '{build-timeout}'
90 - gerrit-trigger-patch-submitted:
95 - jacoco-nojava-workaround
96 - provide-maven-settings:
97 global-settings-file: 'odl-global-settings'
98 settings-file: 'genius-settings'
100 maven-version: '{mvn33}'
102 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}'
104 - '-Xmx1024m -XX:MaxPermSize=256m'
105 settings: 'genius-settings'
107 global-settings: 'odl-global-settings'
108 global-settings-type: cfp
112 artifacts: '**/target/surefire-reports/*-output.txt, '
114 - email-notification:
115 email-prefix: '[genius]'
118 maven-version: '{mvn33}'
121 name: 'genius-merge-{stream}'
123 # Job template for ODL merge jobs
125 # The purpose of this job template is to setup a ODL merge job
126 # and deploy artifacts to Nexus.
128 # Required Variables:
129 # stream: release stream (eg. stable-lithium or beryllium)
130 # branch: git branch (eg. stable/lithium or master)
139 artifactDaysToKeep: '{build-artifact-days-to-keep}'
140 artifactNumToKeep: '{build-artifact-num-to-keep}'
148 refspec: 'refs/heads/{branch}'
151 - gerrit-trigger-scm:
153 choosing-strategy: 'default'
156 - opendaylight-infra-wrappers:
157 build-timeout: '{build-timeout}'
161 - gerrit-trigger-patch-merged:
166 - jacoco-nojava-workaround
167 - provide-maven-settings:
168 global-settings-file: 'odl-global-settings'
169 settings-file: 'genius-settings'
172 maven-name: '{mvn33}'
174 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}'
175 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
176 settings: 'genius-settings'
178 global-settings: 'odl-global-settings'
179 global-settings-type: cfp
180 post-step-run-condition: UNSTABLE
184 condition-kind: file-exists
185 condition-filename: deploy-site.xml
186 condition-basedir: workspace
188 # The strategy here is intentional to run Maven site:deploy twice
189 # once using regular pom.xml to produce a staged-site which is
190 # then used by deploy-site.xml to push to Nexus. This is a
191 # workaround to Maven Site's default linking code which creates
192 # incorrect URLs for sites due to auto-detection assuming your
193 # project is configured in a certain way which ODL is not.
196 maven-version: '{mvn33}'
198 goals: 'site:deploy -V -B -Dstream={stream}'
201 settings: 'genius-settings'
203 global-settings: 'odl-global-settings'
204 global-settings-type: cfp
206 maven-version: '{mvn33}'
208 goals: 'site:deploy -V -B -Dstream={stream}'
211 settings: 'genius-settings'
213 global-settings: 'odl-global-settings'
214 global-settings-type: cfp
221 artifacts: '**/target/surefire-reports/*-output.txt, '
222 - email-notification:
223 email-prefix: '[genius]'
227 deploy-unstable: false
230 maven-version: '{mvn33}'
243 artifactDaysToKeep: '1'
244 artifactNumToKeep: '1'
256 - opendaylight-infra-wrappers:
257 build-timeout: '{build-timeout}'
261 - gerrit-trigger-patch-sonar:
265 - jacoco-nojava-workaround
266 - provide-maven-settings:
267 global-settings-file: 'odl-global-settings'
268 settings-file: 'genius-settings'
271 maven-name: '{mvn33}'
273 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
274 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
275 settings: 'genius-settings'
277 global-settings: 'odl-global-settings'
278 global-settings-type: cfp
286 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
287 - email-notification:
288 email-prefix: '[genius]'
291 maven-version: '{mvn33}'