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)
86 refspec: 'refs/heads/{branch}'
90 refspec: '$GERRIT_REFSPEC'
91 choosing-strategy: 'gerrit'
94 - opendaylight-infra-wrappers:
95 build-timeout: '{build-timeout}'
98 - gerrit-trigger-patch-submitted:
103 - jacoco-nojava-workaround
104 - provide-maven-settings:
105 global-settings-file: 'odl-global-settings'
106 settings-file: 'centinel-settings'
108 maven-version: '{mvn33}'
110 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}'
112 - '-Xmx1024m -XX:MaxPermSize=256m'
113 settings: 'centinel-settings'
115 global-settings: 'odl-global-settings'
116 global-settings-type: cfp
120 artifacts: '**/target/surefire-reports/*-output.txt, '
122 - email-notification:
123 email-prefix: '[centinel]'
126 maven-version: '{mvn33}'
129 name: 'centinel-merge-{stream}'
131 # Job template for ODL merge jobs
133 # The purpose of this job template is to setup a ODL merge job
134 # and deploy artifacts to Nexus.
136 # Required Variables:
137 # stream: release stream (eg. stable-lithium or beryllium)
138 # branch: git branch (eg. stable/lithium or master)
147 artifactDaysToKeep: '{build-artifact-days-to-keep}'
148 artifactNumToKeep: '{build-artifact-num-to-keep}'
156 refspec: 'refs/heads/{branch}'
159 - gerrit-trigger-scm:
161 choosing-strategy: 'default'
164 - opendaylight-infra-wrappers:
165 build-timeout: '{build-timeout}'
169 - gerrit-trigger-patch-merged:
174 - jacoco-nojava-workaround
175 - provide-maven-settings:
176 global-settings-file: 'odl-global-settings'
177 settings-file: 'centinel-settings'
180 maven-name: '{mvn33}'
182 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}'
183 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
184 settings: 'centinel-settings'
186 global-settings: 'odl-global-settings'
187 global-settings-type: cfp
188 post-step-run-condition: UNSTABLE
192 condition-kind: file-exists
193 condition-filename: deploy-site.xml
194 condition-basedir: workspace
196 # The strategy here is intentional to run Maven site:deploy twice
197 # once using regular pom.xml to produce a staged-site which is
198 # then used by deploy-site.xml to push to Nexus. This is a
199 # workaround to Maven Site's default linking code which creates
200 # incorrect URLs for sites due to auto-detection assuming your
201 # project is configured in a certain way which ODL is not.
204 maven-version: '{mvn33}'
206 goals: 'site:deploy -V -B -Dstream={stream}'
209 settings: 'centinel-settings'
211 global-settings: 'odl-global-settings'
212 global-settings-type: cfp
214 maven-version: '{mvn33}'
216 goals: 'site:deploy -V -B -Dstream={stream}'
219 settings: 'centinel-settings'
221 global-settings: 'odl-global-settings'
222 global-settings-type: cfp
229 artifacts: '**/target/surefire-reports/*-output.txt, '
230 - email-notification:
231 email-prefix: '[centinel]'
235 deploy-unstable: false
238 maven-version: '{mvn33}'
241 name: 'centinel-sonar'
251 artifactDaysToKeep: '1'
252 artifactNumToKeep: '1'
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: 'centinel-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: 'centinel-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: '[centinel]'
299 maven-version: '{mvn33}'