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}'
67 - ssh-agent-credentials:
73 - gerrit-trigger-patch-sonar:
74 name: 'integration/distribution'
77 - wipe-org-opendaylight-repo
78 - jacoco-nojava-workaround
79 - provide-maven-settings:
80 global-settings-file: 'odl-global-settings'
81 settings-file: 'integration-distribution-settings'
86 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
87 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
88 settings: 'integration-distribution-settings'
90 global-settings: 'odl-global-settings'
91 global-settings-type: cfp
99 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
100 - email-notification:
101 email-prefix: '[distribution]'
104 maven-version: '{mvn33}'
107 name: 'distribution-clm-{stream}'
115 daysToKeep: '{build-days-to-keep}'
116 numToKeep: '{build-num-to-keep}'
117 artifactDaysToKeep: '{build-artifact-days-to-keep}'
118 artifactNumToKeep: '{build-artifact-num-to-keep}'
126 credentials-id: '{ssh-credentials}'
132 - ssh-agent-credentials:
134 - '{ssh-credentials}'
140 - wipe-org-opendaylight-repo
141 - provide-maven-settings:
142 global-settings-file: 'odl-global-settings'
143 settings-file: 'integration-distribution-settings'
146 maven-name: '{mvn33}'
148 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'
149 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
150 settings: 'integration-distribution-settings'
152 global-settings: 'odl-global-settings'
153 global-settings-type: cfp
156 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
158 application-name: distribution
161 - email-notification:
162 email-prefix: '[distribution]'
164 maven-version: '{mvn33}'
167 name: 'distribution-validate-autorelease-{stream}'
168 disabled: '{obj:disable_autorelease}'
176 daysToKeep: '{build-days-to-keep}'
177 numToKeep: '{build-num-to-keep}'
178 artifactDaysToKeep: '{build-artifact-days-to-keep}'
179 artifactNumToKeep: '{build-artifact-num-to-keep}'
187 refspec: 'refs/heads/{branch}'
188 - autorelease-release-tag:
189 release-tag: 'validate'
190 - autorelease-release-branch:
191 release-branch: '{branch}'
194 default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease'
195 description: "Autorelease clone URL"
200 credentials-id: '{ssh-credentials}'
210 - autorelease-build-timeout
211 - ssh-agent-credentials:
213 - '{ssh-credentials}'
217 server-name: 'OpenDaylight'
219 - patchset-created-event:
220 exclude-drafts: 'true'
221 exclude-trivial-rebase: 'false'
222 exclude-no-code-change: 'true'
223 - draft-published-event
224 - comment-added-contains-event:
225 comment-contains-value: 'recheck'
226 - comment-added-contains-event:
227 comment-contains-value: 'reverify'
228 - comment-added-contains-event:
229 comment-contains-value: 'revalidate'
231 - project-compare-type: 'ANT'
232 project-pattern: 'integration/distribution'
234 - branch-compare-type: 'ANT'
235 branch-pattern: '**/{branch}'
241 - wipe-org-opendaylight-repo
242 - jacoco-nojava-workaround
243 - autorelease-checkout-gerrit-patch
244 - autorelease-generate-release-patches
246 maven-version: '{mvn33}'
247 pom: validate-pom.xml
248 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'
251 settings: 'autorelease-settings'
253 global-settings: 'odl-global-settings'
254 global-settings-type: cfp
257 maven-name: '{mvn33}'
259 goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
260 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
261 settings: 'autorelease-settings'
263 global-settings: 'odl-global-settings'
264 global-settings-type: cfp
265 automatic-archiving: false
266 post-step-run-condition: UNSTABLE
269 - autorelease-sys-stats
272 - email-notification:
273 email-prefix: '[autorelease] [distribution]'
275 maven-version: '{mvn33}'