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 - jacoco-nojava-workaround
78 - provide-maven-settings:
79 global-settings-file: 'odl-global-settings'
80 settings-file: 'integration-distribution-settings'
85 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
86 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
87 settings: 'integration-distribution-settings'
89 global-settings: 'odl-global-settings'
90 global-settings-type: cfp
98 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
100 email-prefix: '[distribution]'
103 maven-version: '{mvn33}'
106 name: 'distribution-clm-{stream}'
114 daysToKeep: '{build-days-to-keep}'
115 numToKeep: '{build-num-to-keep}'
116 artifactDaysToKeep: '{build-artifact-days-to-keep}'
117 artifactNumToKeep: '{build-artifact-num-to-keep}'
125 credentials-id: '{ssh-credentials}'
131 - ssh-agent-credentials:
133 - '{ssh-credentials}'
139 - provide-maven-settings:
140 global-settings-file: 'odl-global-settings'
141 settings-file: 'integration-distribution-settings'
144 maven-name: '{mvn33}'
146 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'
147 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
148 settings: 'integration-distribution-settings'
150 global-settings: 'odl-global-settings'
151 global-settings-type: cfp
154 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
156 application-name: distribution
159 - email-notification:
160 email-prefix: '[distribution]'
162 maven-version: '{mvn33}'
165 name: 'distribution-validate-autorelease-{stream}'
166 disabled: '{obj:disable_autorelease}'
174 daysToKeep: '{build-days-to-keep}'
175 numToKeep: '{build-num-to-keep}'
176 artifactDaysToKeep: '{build-artifact-days-to-keep}'
177 artifactNumToKeep: '{build-artifact-num-to-keep}'
185 refspec: 'refs/heads/{branch}'
186 - autorelease-release-tag:
187 release-tag: 'validate'
188 - autorelease-release-branch:
189 release-branch: '{branch}'
192 default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease'
193 description: "Autorelease clone URL"
198 credentials-id: '{ssh-credentials}'
208 - autorelease-build-timeout
209 - ssh-agent-credentials:
211 - '{ssh-credentials}'
215 server-name: 'OpenDaylight'
217 - patchset-created-event:
218 exclude-drafts: 'true'
219 exclude-trivial-rebase: 'false'
220 exclude-no-code-change: 'true'
221 - draft-published-event
222 - comment-added-contains-event:
223 comment-contains-value: 'recheck'
224 - comment-added-contains-event:
225 comment-contains-value: 'reverify'
226 - comment-added-contains-event:
227 comment-contains-value: 'revalidate'
229 - project-compare-type: 'ANT'
230 project-pattern: 'integration/distribution'
232 - branch-compare-type: 'ANT'
233 branch-pattern: '**/{branch}'
239 - jacoco-nojava-workaround
240 - autorelease-checkout-gerrit-patch
241 - autorelease-generate-release-patches
243 maven-version: '{mvn33}'
244 pom: validate-pom.xml
245 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'
248 settings: 'autorelease-settings'
250 global-settings: 'odl-global-settings'
251 global-settings-type: cfp
254 maven-name: '{mvn33}'
256 goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
257 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
258 settings: 'autorelease-settings'
260 global-settings: 'odl-global-settings'
261 global-settings-type: cfp
262 automatic-archiving: false
263 post-step-run-condition: UNSTABLE
266 - autorelease-sys-stats
269 - email-notification:
270 email-prefix: '[autorelease] [distribution]'
272 maven-version: '{mvn33}'