summaryrefslogtreecommitdiffstats
path: root/jjb/vpp/include-raw-vpp-packagecloud-push.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/vpp/include-raw-vpp-packagecloud-push.sh')
-rw-r--r--jjb/vpp/include-raw-vpp-packagecloud-push.sh15
1 files changed, 3 insertions, 12 deletions
diff --git a/jjb/vpp/include-raw-vpp-packagecloud-push.sh b/jjb/vpp/include-raw-vpp-packagecloud-push.sh
index 74b96b382..8908d09c5 100644
--- a/jjb/vpp/include-raw-vpp-packagecloud-push.sh
+++ b/jjb/vpp/include-raw-vpp-packagecloud-push.sh
@@ -2,23 +2,14 @@
if [ "${OS}" == "ubuntu1404" ]; then
DEBS=$(find . -type f -iname '*.deb')
- for i in $DEBS
- do
- package_cloud push fdio/test/ubuntu/trusty/main "$i"
- done
+ package_cloud push fdio/test/ubuntu/trusty/main ${DEBS}
elif [ "${OS}" == "ubuntu1604" ]; then
DEBS=$(find . -type f -iname '*.deb')
- for i in $DEBS
- do
- package_cloud push fdio/test/ubuntu/xenial/main "$i"
- done
+ package_cloud push fdio/test/ubuntu/xenial/main ${DEBS}
elif [ "${OS}" == "centos7" ]; then
# Find the files
RPMS=$(find . -type f -iname '*.rpm')
SRPMS=$(find . -type f -iname '*.srpm')
SRCRPMS=$(find . -type f -name '*.src.rpm')
- for i in $RPMS $SRPMS $SRCRPMS
- do
- package_cloud push fdio/test/el/7/os/x86_64/ "$i"
- done
+ package_cloud push fdio/test/el/7/os/x86_64/ ${RPMS} ${SRPMS} ${SRCRPMS}
fi \ No newline at end of file