For an example failure, see:
https://jenkins.fd.io/job/vpp-merge-master-osleap15/2443/console
Change-Id: I84a05512b1a7d5ef0e8fce963e3917f42929605e
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
openSUSE)
# Use /etc/os-release on openSUSE to get $VERSION
. /etc/os-release
- RPMS=$(find . -type f -iregex '.*/.*\.\(s\)?rpm')
+ RPMS=$(find . -type f -iregex '.*/.*\.\(s\)?rpm' | grep -v 'vpp-ext-deps')
+ VPP_EXT_RPMS=$(find . -type f -iregex '.*/.*\.\(s\)?rpm' | grep 'vpp-ext-deps')
package_cloud push "${PCIO_CO}/${STREAM}/opensuse/${VERSION}/" ${RPMS}
+ # This file may have already been uploaded. Don't error out if it exists.
+ package_cloud push "${PCIO_CO}/${STREAM}/opensuse/${VERSION}/" ${VPP_EXT_RPMS} --skip-errors
;;
esac
fi