4 project-name: packaging
7 - '{project-name}-verify-tox-master'
8 - 'packaging-build-rpm-{stream}'
9 - 'packaging-build-rpm-snap-{stream}'
10 - 'packaging-build-deb-{stream}'
11 - 'packaging-test-rpm-master'
12 - 'packaging-test-rpm-upgrade-master'
13 - 'packaging-test-deb-master'
15 project: 'integration/packaging'
23 # common parameters required for 'lf-infra-deploy-maven-file' builder
24 group-id: 'org.opendaylight.integration-packaging'
25 upload-files-dir: '$WORKSPACE/upload_files'
26 maven-repo-url: '$NEXUS_URL/content/repositories/$REPO_ID'
29 name: 'packaging-build-rpm-{stream}'
31 node: centos7-java-builder-2c-4g
33 project-type: freestyle
40 - opendaylight-infra-properties:
44 - opendaylight-infra-parameters:
45 os-cloud: '{os-cloud}'
48 refspec: 'refs/heads/{branch}'
49 artifacts: '{archive-artifacts}'
50 - lf-infra-maven-parameters:
51 mvn-opts: '{mvn-opts}'
52 mvn-params: '{mvn-params}'
53 mvn-version: '{mvn-version}'
54 staging-profile-id: ''
57 # yamllint disable-line rule:line-length
58 default: 'https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.0-Carbon/distribution-karaf-0.6.0-Carbon.tar.gz'
59 description: 'URL to ODL tarball artifact to repackage into RPM'
63 description: 'Name of person who defined RPM'
66 default: 'jenkins-donotreply@opendaylight.org'
67 description: 'Email of person who defined RPM'
70 - integration-gerrit-scm:
72 refspec: '$GERRIT_REFSPEC'
76 - opendaylight-infra-wrappers:
77 build-timeout: '{build-timeout}'
80 - shell: !include-raw: build-rpm.sh
81 - lf-infra-deploy-maven-file:
82 global-settings-file: 'global-settings'
83 settings-file: 'packaging-settings'
84 mvn-version: '{mvn-version}'
85 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
86 group-id: '{group-id}'
87 upload-files-dir: '{upload-files-dir}'
88 maven-repo-url: '{maven-repo-url}'
92 server-name: '{server-name}'
94 - comment-added-contains-event:
95 comment-contains-value: 'build-rpm-direct'
97 - project-compare-type: ANT
98 project-pattern: '{project}'
100 - branch-compare-type: ANT
101 branch-pattern: '**/{branch}'
104 pattern: 'packages/**'
111 name: 'packaging-build-rpm-snap-{stream}'
113 node: centos7-java-builder-2c-4g
115 project-type: freestyle
122 - opendaylight-infra-properties:
123 build-days-to-keep: 7
126 - opendaylight-infra-parameters:
127 os-cloud: '{os-cloud}'
130 refspec: 'refs/heads/{branch}'
131 artifacts: '{archive-artifacts}'
132 - lf-infra-maven-parameters:
133 mvn-opts: '{mvn-opts}'
134 mvn-params: '{mvn-params}'
135 mvn-version: '{mvn-version}'
136 staging-profile-id: ''
140 description: 'Name of person who defined RPM'
142 name: CHANGELOG_EMAIL
143 default: 'jenkins-donotreply@opendaylight.org'
144 description: 'Email of person who defined RPM'
147 - integration-gerrit-scm:
149 refspec: '$GERRIT_REFSPEC'
153 - opendaylight-infra-wrappers:
154 build-timeout: '{build-timeout}'
157 - shell: !include-raw: build-rpm-snap.sh
158 - lf-infra-deploy-maven-file:
159 global-settings-file: 'global-settings'
160 settings-file: 'packaging-settings'
161 mvn-version: '{mvn-version}'
162 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
163 group-id: '{group-id}'
164 upload-files-dir: '{upload-files-dir}'
165 maven-repo-url: '{maven-repo-url}'
170 server-name: '{server-name}'
172 - comment-added-contains-event:
173 comment-contains-value: 'build-rpm-snap'
175 - project-compare-type: ANT
176 project-pattern: '{project}'
178 - branch-compare-type: ANT
179 branch-pattern: '**/{branch}'
182 pattern: 'packages/**'
189 name: 'packaging-test-rpm-master'
191 node: centos7-java-builder-2c-4g
194 - opendaylight-infra-parameters:
195 os-cloud: '{os-cloud}'
198 refspec: 'refs/heads/{branch}'
199 artifacts: '{archive-artifacts}'
202 # yamllint disable-line rule:line-length
203 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-60-release.repo'
204 description: 'Link to .repo or .rpm file'
207 - integration-gerrit-scm:
209 refspec: '$GERRIT_REFSPEC'
213 - opendaylight-infra-wrappers:
214 build-timeout: '{build-timeout}'
217 - shell: !include-raw: install-rpm.sh
218 - shell: !include-raw: start-odl.sh
220 # Install expect to interact with Karaf shell
221 sudo yum install -y expect
222 # Install nmap to check status of ODL's SSH port
223 sudo yum install -y nmap
224 - shell: !include-raw: test-karaf.expect
225 - shell: !include-raw: stop-odl.sh
228 # TODO: Remove the archive publisher
229 # small data should be stored on logs.opendaylight.org
230 # large data should be stored on nexus.opendaylight.org
240 name: 'packaging-test-rpm-upgrade-master'
242 node: centos7-java-builder-2c-4g
245 - opendaylight-infra-parameters:
246 os-cloud: '{os-cloud}'
249 refspec: 'refs/heads/{branch}'
250 artifacts: '{archive-artifacts}'
253 # yamllint disable-line rule:line-length
254 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-release.repo'
255 description: 'Link to .repo or .rpm file'
258 # yamllint disable-line rule:line-length
259 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-testing.repo'
260 description: 'Link to .repo or .rpm file'
263 - integration-gerrit-scm:
265 refspec: '$GERRIT_REFSPEC'
269 - opendaylight-infra-wrappers:
270 build-timeout: '{build-timeout}'
273 - shell: !include-raw: install-rpm.sh
274 - shell: !include-raw: start-odl.sh
276 # Install expect to interact with Karaf shell
277 sudo yum install -y expect
278 # Install nmap to check status of ODL's SSH port
279 sudo yum install -y nmap
280 - shell: !include-raw: test-karaf.expect
281 - shell: !include-raw: stop-odl.sh
282 - shell: !include-raw: test-rpm-upgrade.sh
283 - shell: !include-raw: start-odl.sh
284 - shell: !include-raw: test-karaf.expect
285 - shell: !include-raw: stop-odl.sh
292 name: 'packaging-test-deb-master'
294 node: ubuntu1604-mininet-ovs-25-2c-4g
297 - opendaylight-infra-parameters:
298 os-cloud: '{os-cloud}'
301 refspec: 'refs/heads/{branch}'
302 artifacts: '{archive-artifacts}'
305 default: 'ppa:odl-team/carbon'
306 description: 'Link to .deb package or name of PPA repo'
309 - integration-gerrit-scm:
311 refspec: '$GERRIT_REFSPEC'
315 - opendaylight-infra-wrappers:
316 build-timeout: '{build-timeout}'
319 - shell: !include-raw: install-deb.sh
320 - shell: !include-raw: start-odl.sh
322 # Install expect to interact with Karaf shell
323 sudo apt-get install -y expect
324 # Install nmap to check status of ODL's SSH port
325 sudo apt-get install -y nmap
326 - shell: !include-raw: test-karaf.expect
327 - shell: !include-raw: stop-odl.sh
334 name: 'packaging-build-deb-{stream}'
336 node: ubuntu1604-mininet-ovs-25-2c-4g
338 project-type: freestyle
345 - opendaylight-infra-properties:
346 build-days-to-keep: 7
349 - opendaylight-infra-parameters:
350 os-cloud: '{os-cloud}'
353 refspec: 'refs/heads/{branch}'
354 artifacts: '{archive-artifacts}'
355 - lf-infra-maven-parameters:
356 mvn-opts: '{mvn-opts}'
357 mvn-params: '{mvn-params}'
358 mvn-version: '{mvn-version}'
359 staging-profile-id: ''
362 # yamllint disable-line rule:line-length
363 default: 'https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.5.3-Boron-SR3/distribution-karaf-0.5.3-Boron-SR3.tar.gz'
364 description: 'URL to ODL tarball artifact to repackage into .deb'
368 description: 'Name of person who defined .deb'
370 name: CHANGELOG_EMAIL
371 default: 'jenkins-donotreply@opendaylight.org'
372 description: 'Email of person who defined .deb'
375 - integration-gerrit-scm:
377 refspec: '$GERRIT_REFSPEC'
381 - opendaylight-infra-wrappers:
382 build-timeout: '{build-timeout}'
385 - shell: !include-raw: build-deb.sh
386 - lf-infra-deploy-maven-file:
387 global-settings-file: 'global-settings'
388 settings-file: 'packaging-settings'
389 mvn-version: '{mvn-version}'
390 repo-id: 'opendaylight-{stream}-ubuntu-1604-x86_64-devel'
391 group-id: '{group-id}'
392 upload-files-dir: '{upload-files-dir}'
393 maven-repo-url: '{maven-repo-url}'
397 server-name: '{server-name}'
399 - comment-added-contains-event:
400 comment-contains-value: 'build-deb'
402 - project-compare-type: ANT
403 project-pattern: '{project}'
405 - branch-compare-type: ANT
406 branch-pattern: '**/{branch}'
409 pattern: 'packages/**'