From 93506bd3b7c82732bec84611a879644297f7b559 Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Thu, 8 Sep 2016 08:51:29 -0700 Subject: [PATCH] Fix to publishing of artifacts Change-Id: I5e1c7815a441cec554b6a0c980ef6bf588f9594b Signed-off-by: Ed Warnicke --- jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh b/jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh index d456c23ef..bf9d53d40 100644 --- a/jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh +++ b/jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh @@ -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 -- 2.16.6