Merge "CSIT-682 Usage of make-verify for vpp-csit-verify jobs"
[ci-management.git] / jjb / nsh_sfc / include-raw-nsh_sfc-pkg-push.sh
index c4f4885..500433e 100644 (file)
@@ -1,9 +1,11 @@
 #!/bin/bash
 # basic build script example
 set -e -o pipefail
-if [ "${OS}" == "ubuntu1404" ]; then
+echo "Looking for jars/debs/rpms to publish"
+if [ "${OS}" == "ubuntu1604" ]; then
     # Find the files
     DEBS=$(find . -type f -iname '*.deb')
+    echo "Found DEBS=${DEBS}"
     for i in $DEBS
     do
         push_deb "$i"
@@ -21,6 +23,7 @@ elif [ "${OS}" == "ubuntu1604" ]; then
 
     # Find the files
     DEBS=$(find . -type f -iname '*.deb')
+    echo "Found DEBS=${DEBS}"
     for i in $DEBS
     do
         push_deb "$i"
@@ -31,8 +34,11 @@ elif [ "${OS}" == "centos7" ]; then
     RPMS=$(find . -type f -iname '*.rpm')
     SRPMS=$(find . -type f -iname '*.srpm')
     SRCRPMS=$(find . -type f -name '*.src.rpm')
+    echo "Found RPMS=${RPMS}"
+    echo "Found SRPMS=${SRPMS}"
+    echo "Found SRCRPMS=${SRCRPMS}"
     for i in $RPMS $SRPMS $SRCRPMS
     do
         push_rpm "$i"
     done
-fi
\ No newline at end of file
+fi