Make 1606 vpp jobs publish jvpp jar snapshots 33/6833/1
authorMarek Gradzki <mgradzki@cisco.com>
Tue, 23 May 2017 06:01:18 +0000 (08:01 +0200)
committerMarek Gradzki <mgradzki@cisco.com>
Tue, 23 May 2017 06:03:49 +0000 (08:03 +0200)
Hc2vpp expects vpp merge jobs publish jvpp jars.
This patch restores that behaviour changed by
https://gerrit.fd.io/r/#/c/6729/

Change-Id: I85798fca7ab1b936aa11e5d6656b632b0f5988c2
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
jjb/vpp/include-raw-vpp-maven-push.sh

index 0d476b5..78bffb6 100644 (file)
@@ -10,7 +10,7 @@ GROUP_ID="io.fd.${PROJECT}"
 BASEURL="${NEXUSPROXY}/content/repositories/fd.io."
 BASEREPOID='fdio-'
 
-if [ "${OS}" == "ubuntu1404" ]; then
+if [ "${OS}" == "ubuntu1604" ]; then
     # Find the files
     JARS=$(find . -type f -iname '*.jar')
     DEBS=$(find . -type f -iname '*.deb')
@@ -19,12 +19,6 @@ if [ "${OS}" == "ubuntu1404" ]; then
         push_jar "$i"
     done
 
-    for i in $DEBS
-    do
-        push_deb "$i"
-    done
-elif [ "${OS}" == "ubuntu1604" ]; then
-    DEBS=$(find . -type f -iname '*.deb')
     for i in $DEBS
     do
         push_deb "$i"