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]'
105 name: 'distribution-clm-{stream}'
113 daysToKeep: '{build-days-to-keep}'
114 numToKeep: '{build-num-to-keep}'
115 artifactDaysToKeep: '{build-artifact-days-to-keep}'
116 artifactNumToKeep: '{build-artifact-num-to-keep}'
124 credentials-id: '{ssh-credentials}'
130 - ssh-agent-credentials:
132 - '{ssh-credentials}'
138 - wipe-org-opendaylight-repo
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]'
163 name: 'distribution-validate-autorelease-{stream}'
164 disabled: '{obj:disable_autorelease}'
172 daysToKeep: '{build-days-to-keep}'
173 numToKeep: '{build-num-to-keep}'
174 artifactDaysToKeep: '{build-artifact-days-to-keep}'
175 artifactNumToKeep: '{build-artifact-num-to-keep}'
183 refspec: 'refs/heads/{branch}'
184 - autorelease-release-tag:
185 release-tag: 'validate'
186 - autorelease-release-branch:
187 release-branch: '{branch}'
190 default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease'
191 description: "Autorelease clone URL"
196 credentials-id: '{ssh-credentials}'
206 - autorelease-build-timeout
207 - ssh-agent-credentials:
209 - '{ssh-credentials}'
213 server-name: 'OpenDaylight'
215 - patchset-created-event:
216 exclude-drafts: 'true'
217 exclude-trivial-rebase: 'false'
218 exclude-no-code-change: 'true'
219 - draft-published-event
220 - comment-added-contains-event:
221 comment-contains-value: 'recheck'
222 - comment-added-contains-event:
223 comment-contains-value: 'reverify'
224 - comment-added-contains-event:
225 comment-contains-value: 'revalidate'
227 - project-compare-type: 'ANT'
228 project-pattern: 'integration/distribution'
230 - branch-compare-type: 'ANT'
231 branch-pattern: '**/{branch}'
237 - wipe-org-opendaylight-repo
238 - jacoco-nojava-workaround
239 - autorelease-checkout-gerrit-patch
240 - autorelease-generate-release-patches
242 maven-version: '{mvn33}'
243 pom: validate-pom.xml
244 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'
247 settings: 'autorelease-settings'
249 global-settings: 'odl-global-settings'
250 global-settings-type: cfp
253 maven-name: '{mvn33}'
255 goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
256 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
257 settings: 'autorelease-settings'
259 global-settings: 'odl-global-settings'
260 global-settings-type: cfp
261 automatic-archiving: false
262 post-step-run-condition: UNSTABLE
265 - autorelease-sys-stats
268 - email-notification:
269 email-prefix: '[autorelease] [distribution]'