Merge "Fixing branch of libparc and updating centos repositories."
[ci-management.git] / jjb / vpp / include-raw-vpp-packagecloud-push.sh
index d5558ff..8908d09 100644 (file)
@@ -2,23 +2,14 @@
 
 if [ "${OS}" == "ubuntu1404" ]; then
     DEBS=$(find . -type f -iname '*.deb')
-    for i in $DEBS
-    do
-        package_cloud push fdio/test "$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 "$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 "$i"
-    done
+    package_cloud push fdio/test/el/7/os/x86_64/ ${RPMS} ${SRPMS} ${SRCRPMS}
 fi
\ No newline at end of file