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
10 - 'distribution-clm-{stream}'
11 - 'distribution-validate-autorelease-{stream}'
14 # stream: release stream (eg. stable-lithium or beryllium)
15 # branch: git branch (eg. stable/lithium or master)
22 disable_autorelease: False
23 disable_distribution_check: False
25 branch: 'stable/beryllium'
30 disable_autorelease: False
31 disable_distribution_check: False
33 project: 'integration/distribution'
35 # For the Job templates below replace instances of:
36 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
37 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
38 # MAVEN_GOALS with your maven goals to build
39 # MAVEN_OPTS with your maven options to build
42 name: 'distribution-sonar'
52 artifactDaysToKeep: '1'
53 artifactNumToKeep: '1'
61 credentials-id: '{ssh-credentials}'
66 - opendaylight-infra-wrappers:
67 build-timeout: '{build-timeout}'
71 - gerrit-trigger-patch-sonar:
72 name: 'integration/distribution'
75 - jacoco-nojava-workaround
76 - provide-maven-settings:
77 global-settings-file: 'odl-global-settings'
78 settings-file: 'integration-distribution-settings'
83 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
84 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
85 settings: 'integration-distribution-settings'
87 global-settings: 'odl-global-settings'
88 global-settings-type: cfp
96 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
98 email-prefix: '[distribution]'
101 maven-version: '{mvn33}'
104 name: 'distribution-clm-{stream}'
112 daysToKeep: '{build-days-to-keep}'
113 numToKeep: '{build-num-to-keep}'
114 artifactDaysToKeep: '{build-artifact-days-to-keep}'
115 artifactNumToKeep: '{build-artifact-num-to-keep}'
123 credentials-id: '{ssh-credentials}'
128 - opendaylight-infra-wrappers:
129 build-timeout: '{build-timeout}'
135 - provide-maven-settings:
136 global-settings-file: 'odl-global-settings'
137 settings-file: 'integration-distribution-settings'
140 maven-name: '{mvn33}'
142 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
143 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
144 settings: 'integration-distribution-settings'
146 global-settings: 'odl-global-settings'
147 global-settings-type: cfp
150 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
152 application-name: distribution
155 - email-notification:
156 email-prefix: '[distribution]'
158 maven-version: '{mvn33}'
161 name: 'distribution-validate-autorelease-{stream}'
162 disabled: '{obj:disable_autorelease}'
170 daysToKeep: '{build-days-to-keep}'
171 numToKeep: '{build-num-to-keep}'
172 artifactDaysToKeep: '{build-artifact-days-to-keep}'
173 artifactNumToKeep: '{build-artifact-num-to-keep}'
181 refspec: 'refs/heads/{branch}'
182 - autorelease-release-tag:
183 release-tag: 'validate'
184 - autorelease-release-branch:
185 release-branch: '{branch}'
188 default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease'
189 description: "Autorelease clone URL"
194 credentials-id: '{ssh-credentials}'
204 - opendaylight-infra-wrappers:
205 build-timeout: '{build-timeout}'
209 server-name: 'OpenDaylight'
211 - patchset-created-event:
212 exclude-drafts: 'true'
213 exclude-trivial-rebase: 'false'
214 exclude-no-code-change: 'true'
215 - draft-published-event
216 - comment-added-contains-event:
217 comment-contains-value: 'recheck'
218 - comment-added-contains-event:
219 comment-contains-value: 'reverify'
220 - comment-added-contains-event:
221 comment-contains-value: 'revalidate'
223 - project-compare-type: 'ANT'
224 project-pattern: 'integration/distribution'
226 - branch-compare-type: 'ANT'
227 branch-pattern: '**/{branch}'
233 - jacoco-nojava-workaround
234 - autorelease-checkout-gerrit-patch
235 - autorelease-generate-release-patches
237 maven-version: '{mvn33}'
238 pom: validate-pom.xml
239 goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
242 settings: 'autorelease-settings'
244 global-settings: 'odl-global-settings'
245 global-settings-type: cfp
248 maven-name: '{mvn33}'
250 goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
251 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
252 settings: 'autorelease-settings'
254 global-settings: 'odl-global-settings'
255 global-settings-type: cfp
256 automatic-archiving: false
257 post-step-run-condition: UNSTABLE
260 - autorelease-sys-stats
263 - email-notification:
264 email-prefix: '[autorelease] [distribution]'
266 maven-version: '{mvn33}'