Fix to publishing of artifacts 33/2733/1
authorEd Warnicke <eaw@cisco.com>
Thu, 8 Sep 2016 15:51:29 +0000 (08:51 -0700)
committerEd Warnicke <eaw@cisco.com>
Thu, 8 Sep 2016 15:51:29 +0000 (08:51 -0700)
Change-Id: I5e1c7815a441cec554b6a0c980ef6bf588f9594b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh

index d456c23..bf9d53d 100644 (file)
@@ -2,7 +2,9 @@
 # basic build script example
 set -e -o pipefail
 
-cd nsh-plugin/build/java/jvpp
-$MVN org.apache.maven.plugins:maven-deploy-plugin:deploy \
-    -gs $GLOBAL_SETTINGS_FILE -s $SETTINGS_FILE
-cd -
+if [ "${{OS}}" == "ubuntu1404" ]; then
+    cd nsh-plugin/build/java/jvpp
+    $MVN deploy \
+        -gs $GLOBAL_SETTINGS_FILE -s $SETTINGS_FILE
+    cd -
+fi
\ No newline at end of file