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 - 'centinel-verify-{stream}'
16 - 'centinel-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
31 branch: 'stable/beryllium'
36 disable_autorelease: False
37 disable_distribution_check: False
40 mvn-settings: 'centinel-settings'
41 mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
42 mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
43 dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
44 email-upstream: '[centinel] [odlparent] [controller] [yangtools]'
46 # For the Job templates below replace instances of:
47 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
48 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
49 # MAVEN_GOALS with your maven goals to build
50 # MAVEN_OPTS with your maven options to build
53 name: 'centinel-verify-{stream}'
55 # Job template for ODL verify jobs
57 # The purpose of this job template is to setup a ODL verify job
60 # stream: release stream (eg. stable-lithium or beryllium)
61 # branch: git branch (eg. stable/lithium or master)
81 - opendaylight-infra-parameters:
84 refspec: 'refs/heads/{branch}'
85 artifacts: '{archive-artifacts}'
89 refspec: '$GERRIT_REFSPEC'
90 choosing-strategy: 'gerrit'
93 - opendaylight-infra-wrappers:
94 build-timeout: '{build-timeout}'
97 - gerrit-trigger-patch-submitted:
102 - jacoco-nojava-workaround
103 - provide-maven-settings:
104 global-settings-file: 'odl-global-settings'
105 settings-file: 'centinel-settings'
107 maven-version: '{mvn33}'
109 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}'
111 - '-Xmx1024m -XX:MaxPermSize=256m'
112 settings: 'centinel-settings'
114 global-settings: 'odl-global-settings'
115 global-settings-type: cfp
119 artifacts: '**/target/surefire-reports/*-output.txt, '
121 - email-notification:
122 email-prefix: '[centinel]'
125 maven-version: '{mvn33}'
128 name: 'centinel-merge-{stream}'
130 # Job template for ODL merge jobs
132 # The purpose of this job template is to setup a ODL merge job
133 # and deploy artifacts to Nexus.
135 # Required Variables:
136 # stream: release stream (eg. stable-lithium or beryllium)
137 # branch: git branch (eg. stable/lithium or master)
146 artifactDaysToKeep: '{build-artifact-days-to-keep}'
147 artifactNumToKeep: '{build-artifact-num-to-keep}'
150 - opendaylight-infra-parameters:
153 refspec: 'refs/heads/{branch}'
154 artifacts: '{archive-artifacts}'
157 - gerrit-trigger-scm:
159 choosing-strategy: 'default'
162 - opendaylight-infra-wrappers:
163 build-timeout: '{build-timeout}'
167 - gerrit-trigger-patch-merged:
172 - jacoco-nojava-workaround
173 - provide-maven-settings:
174 global-settings-file: 'odl-global-settings'
175 settings-file: 'centinel-settings'
178 maven-name: '{mvn33}'
180 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}'
181 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
182 settings: 'centinel-settings'
184 global-settings: 'odl-global-settings'
185 global-settings-type: cfp
186 post-step-run-condition: UNSTABLE
190 condition-kind: file-exists
191 condition-filename: deploy-site.xml
192 condition-basedir: workspace
194 # The strategy here is intentional to run Maven site:deploy twice
195 # once using regular pom.xml to produce a staged-site which is
196 # then used by deploy-site.xml to push to Nexus. This is a
197 # workaround to Maven Site's default linking code which creates
198 # incorrect URLs for sites due to auto-detection assuming your
199 # project is configured in a certain way which ODL is not.
202 maven-version: '{mvn33}'
204 goals: 'site:deploy -V -B -Dstream={stream}'
207 settings: 'centinel-settings'
209 global-settings: 'odl-global-settings'
210 global-settings-type: cfp
212 maven-version: '{mvn33}'
214 goals: 'site:deploy -V -B -Dstream={stream}'
217 settings: 'centinel-settings'
219 global-settings: 'odl-global-settings'
220 global-settings-type: cfp
227 artifacts: '**/target/surefire-reports/*-output.txt, '
228 - email-notification:
229 email-prefix: '[centinel]'
233 deploy-unstable: false
236 maven-version: '{mvn33}'
239 name: 'centinel-sonar'
249 artifactDaysToKeep: '1'
250 artifactNumToKeep: '1'
253 - opendaylight-infra-parameters:
256 refspec: 'refs/heads/{branch}'
257 artifacts: '{archive-artifacts}'
265 - opendaylight-infra-wrappers:
266 build-timeout: '{build-timeout}'
270 - gerrit-trigger-patch-sonar:
274 - jacoco-nojava-workaround
275 - provide-maven-settings:
276 global-settings-file: 'odl-global-settings'
277 settings-file: 'centinel-settings'
280 maven-name: '{mvn33}'
282 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
283 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
284 settings: 'centinel-settings'
286 global-settings: 'odl-global-settings'
287 global-settings-type: cfp
295 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
296 - email-notification:
297 email-prefix: '[centinel]'
300 maven-version: '{mvn33}'