Add some echos to debug why packages aren't being pushed 67/2967/1
authorEd Warnicke <eaw@cisco.com>
Mon, 19 Sep 2016 17:12:40 +0000 (10:12 -0700)
committerEd Warnicke <eaw@cisco.com>
Mon, 19 Sep 2016 17:12:40 +0000 (10:12 -0700)
Change-Id: Ida656f01d1df5a943f8b588c5cc0e66dd0fdf5a6
Signed-off-by: Ed Warnicke <eaw@cisco.com>
jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh

index c4f4885..4cfd300 100644 (file)
@@ -1,9 +1,11 @@
 #!/bin/bash
 # basic build script example
 set -e -o pipefail
+echo "Looking for jars/debs/rpms to publish"
 if [ "${OS}" == "ubuntu1404" ]; 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,6 +34,9 @@ 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"