Centos AFS rpm : copy to workspace
Copy the generated repo directly to the $WORKSPACE, rather than a sub-directory, so the repo is just at http://tarballs.openstack.org/package-afs-centos7/ Also, the blank directory should not be necessary; we'll just copy a blank $WORKSPACE Change-Id: I875f30fac9bfe25fc85767d2bf260b1334dcb932
This commit is contained in:
parent
d44fd9742c
commit
fe60534784
@ -323,9 +323,8 @@
|
|||||||
UPSTREAM_CHECK=${UPSTREAM_BASE}/openafs-client-${SRC_VERSION}.el7.centos.x86_64.rpm
|
UPSTREAM_CHECK=${UPSTREAM_BASE}/openafs-client-${SRC_VERSION}.el7.centos.x86_64.rpm
|
||||||
if wget -O/dev/null -q $UPSTREAM_CHECK; then
|
if wget -O/dev/null -q $UPSTREAM_CHECK; then
|
||||||
echo "Found existing upstream RPM build, nothing to do"
|
echo "Found existing upstream RPM build, nothing to do"
|
||||||
# make a dummy blank-directory for the scp publishers; we rely on
|
# $WORKSPACE will just be blank, scp should just
|
||||||
# it not overwriting.
|
# publish nothing
|
||||||
mkdir -p rpmbuild/RPMS/x86_64
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -357,7 +356,7 @@
|
|||||||
- scp:
|
- scp:
|
||||||
site: 'tarballs.openstack.org'
|
site: 'tarballs.openstack.org'
|
||||||
files:
|
files:
|
||||||
- target: 'tarballs/package-afs-centos7'
|
- target: 'tarballs/'
|
||||||
source: 'package-afs-centos7/**'
|
source: 'package-afs-centos7/**'
|
||||||
keep-hierarchy: true
|
keep-hierarchy: true
|
||||||
copy-after-failure: false
|
copy-after-failure: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user