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
24 branch: 'stable/beryllium'
29 disable_autorelease: False
31 project: 'integration/distribution'
33 # For the Job templates below replace instances of:
34 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
35 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
36 # MAVEN_GOALS with your maven goals to build
37 # MAVEN_OPTS with your maven options to build
40 name: 'distribution-sonar'
50 artifactDaysToKeep: '1'
51 artifactNumToKeep: '1'
59 credentials-id: '{ssh-credentials}'
65 - ssh-agent-credentials:
71 - gerrit-trigger-patch-sonar:
72 name: 'integration/distribution'
75 - wipe-org-opendaylight-repo
76 - jacoco-nojava-workaround
77 - provide-maven-settings:
78 global-settings-file: '{odl-global-settings}'
79 settings-file: '{integration-distribution-settings}'
84 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dsonar'
85 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
86 settings: '{integration-distribution-settings}'
87 global-settings: '{odl-global-settings}'
95 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
97 email-prefix: '[distribution]'
101 name: 'distribution-clm-{stream}'
109 daysToKeep: '{build-days-to-keep}'
110 numToKeep: '{build-num-to-keep}'
111 artifactDaysToKeep: '{build-artifact-days-to-keep}'
112 artifactNumToKeep: '{build-artifact-num-to-keep}'
120 credentials-id: '{ssh-credentials}'
126 - ssh-agent-credentials:
128 - '{ssh-credentials}'
134 - wipe-org-opendaylight-repo
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 -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}'
145 global-settings: '{odl-global-settings}'
148 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
150 application-name: distribution
153 - email-notification:
154 email-prefix: '[distribution]'
157 name: 'distribution-validate-autorelease-{stream}'
158 disabled: '{obj:disable_autorelease}'
166 daysToKeep: '{build-days-to-keep}'
167 numToKeep: '{build-num-to-keep}'
168 artifactDaysToKeep: '{build-artifact-days-to-keep}'
169 artifactNumToKeep: '{build-artifact-num-to-keep}'
176 - autorelease-release-tag:
177 release-tag: 'validate'
178 - autorelease-release-branch:
179 release-branch: '{branch}'
180 - autorelease-release-datestamp:
185 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
194 - autorelease-build-timeout
195 - ssh-agent-credentials:
197 - '{ssh-credentials}'
201 server-name: 'OpenDaylight'
203 - patchset-created-event:
204 exclude-drafts: 'false'
205 exclude-trivial-rebase: 'false'
206 exclude-no-code-change: 'false'
207 - draft-published-event
208 - comment-added-contains-event:
209 comment-contains-value: 'recheck'
210 - comment-added-contains-event:
211 comment-contains-value: 'reverify'
212 - comment-added-contains-event:
213 comment-contains-value: 'revalidate'
215 - project-compare-type: 'ANT'
216 project-pattern: 'integration/distribution'
218 - branch-compare-type: 'ANT'
219 branch-pattern: '**/{branch}'
222 - wipe-org-opendaylight-repo
223 - jacoco-nojava-workaround
224 - autorelease-checkout-gerrit-patch
225 - autorelease-generate-taglist
226 - autorelease-generate-release-patches
228 maven-version: '{mvn33}'
229 pom: validate-pom.xml
230 goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
233 settings: '{autorelease-settings}'
234 global-settings: '{odl-global-settings}'
237 maven-name: '{mvn33}'
239 goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
240 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
241 settings: '{autorelease-settings}'
242 global-settings: '{odl-global-settings}'
243 automatic-archiving: false
244 post-step-run-condition: UNSTABLE
247 - shell: "./scripts/list-project-dependencies.sh"
248 - autorelease-sys-stats
253 - email-notification:
254 email-prefix: '[autorelease] [distribution]'