Merge "Add cronjob to trigger all packer jobs periodically"
[releng/builder.git] / jjb / packaging / packaging.yaml
1 - project:
2     name: packaging
3     project-name: packaging
4
5     jobs:
6         - '{project-name}-verify-python-{stream}'
7         - '{project-name}-build-rpm-{stream}'
8
9     project: 'integration/packaging'
10
11     stream:
12         - master:
13             branch: 'master'
14
15 - job-template:
16     name: '{project-name}-build-rpm-{stream}'
17
18     node: dynamic_verify
19
20     parameters:
21         - opendaylight-infra-parameters:
22             project: '{project}'
23             branch: '{branch}'
24             refspec: 'refs/heads/{branch}'
25             artifacts: '{archive-artifacts}'
26         - string:
27             name: VERSION_MAJOR
28             default: '5'
29             description: 'OpenDaylight major (element) version number to build'
30         - string:
31             name: VERSION_MINOR
32             default: '0'
33             description: 'OpenDaylight minor (SR) version number to build'
34         - string:
35             name: VERSION_PATCH
36             default: '0'
37             description: 'OpenDaylight patch version to build'
38         - string:
39             name: RPM_RELEASE
40             default: '1'
41             description: 'RPM version for the given ODL major.minor.patch'
42         - string:
43             name: SYSD_COMMIT
44             default: '07f7c83b0ef46ad3809e5be03e09a77fe554eeae'
45             description: 'Version of ODL systemd unitfile to download and package in ODL RPM'
46         - string:
47             name: CODENAME
48             default: 'Boron'
49             description: 'Elemental codename for the ODL release, including SR if applicable'
50         - string:
51             name: DOWNLOAD_URL
52             default: 'https://nexus.opendaylight.org/content/repositories/public/org/opendaylight/integration/distribution-karaf/0.5.0-Boron/distribution-karaf-0.5.0-Boron.tar.gz'
53             description: 'URL to ODL tarball artifact to repackage into RPM'
54         - string:
55             name: CHANGELOG_DATE
56             default: 'Sun Aug 25 1991'
57             description: 'Date this RPM was defined'
58         - string:
59             name: CHANGELOG_NAME
60             default: 'Jenkins'
61             description: 'Name of person who defined RPM'
62         - string:
63             name: CHANGELOG_EMAIL
64             default: 'jenkins-donotreply@opendaylight.org'
65             description: 'Email of person who defined RPM'
66
67     scm:
68         - integration-gerrit-scm:
69             basedir: 'packaging'
70             refspec: '$GERRIT_REFSPEC'
71             branch: 'master'
72
73     builders:
74         - shell: !include-raw: include-raw-build-rpm.sh
75
76     publishers:
77     - archive-artifacts:
78         artifacts: '**/*.rpm'