ci: Archive built RPMs
That way, anyone can easily download the latest built RPMs from master or a specific PR. This isn't a replacement for automated builds in Koji though since it's not multi-arch. Also fetch the tags so that the NEVRA derived from `git describe` is nicer.
This commit is contained in:
parent
f673305920
commit
07dfb8dc3e
@ -9,6 +9,8 @@ parallel rpms: {
|
||||
checkout scm
|
||||
sh """
|
||||
set -euo pipefail
|
||||
# fetch tags so `git describe` gives a nice NEVRA when building the RPM
|
||||
git fetch origin --tags
|
||||
ci/installdeps.sh
|
||||
git submodule update --init
|
||||
|
||||
@ -23,6 +25,8 @@ parallel rpms: {
|
||||
cd packaging
|
||||
make -f Makefile.dist-packaging rpm
|
||||
"""
|
||||
// make it easy for anyone to download the RPMs
|
||||
archiveArtifacts 'packaging/**/*.rpm'
|
||||
stash includes: 'packaging/**/*.rpm', name: 'rpms'
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user