Fix to publishing of artifacts
[ci-management.git] / 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