VPP: Added opensuse to maven-push 01/11501/1
authorEd Kern <ejk@cisco.com>
Tue, 3 Apr 2018 21:20:07 +0000 (15:20 -0600)
committerEd Kern <ejk@cisco.com>
Tue, 3 Apr 2018 21:20:07 +0000 (15:20 -0600)
On merge jobs we were not properly archiving opensuse rpms.
I dont see it generating jars or srpms so only doing rpms
for now.

Change-Id: I7e33dbff1002e648da30db76a4cee370a29abef3
Signed-off-by: Ed Kern <ejk@cisco.com>
jjb/vpp/include-raw-vpp-maven-push.sh

index 78bffb6..086258e 100644 (file)
@@ -32,5 +32,12 @@ elif [ "${OS}" == "centos7" ]; then
     do
         push_rpm "$i"
     done
+elif [ "${OS}" == "opensuse" ]; then
+    # Find the files
+    RPMS=$(find . -type f -iname '*.rpm')
+    for i in $RPMS
+    do
+        push_rpm "$i"
+    done
 fi
 # vim: ts=4 sw=4 sts=4 et ft=sh :