From: Ed Warnicke Date: Thu, 8 Sep 2016 15:51:29 +0000 (-0700) Subject: Fix to publishing of artifacts X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F2733%2F1;p=ci-management.git Fix to publishing of artifacts Change-Id: I5e1c7815a441cec554b6a0c980ef6bf588f9594b Signed-off-by: Ed Warnicke --- 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