diff options
author | Ed Warnicke <eaw@cisco.com> | 2016-09-08 08:51:29 -0700 |
---|---|---|
committer | Ed Warnicke <eaw@cisco.com> | 2016-09-08 08:51:29 -0700 |
commit | 93506bd3b7c82732bec84611a879644297f7b559 (patch) | |
tree | f70d9a4bb20db7850cc57d6393abf8182c2f7ca8 /jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh | |
parent | 4ac5ce8f7ffc7148fe72577ac535a573e8510be8 (diff) |
Fix to publishing of artifacts
Change-Id: I5e1c7815a441cec554b6a0c980ef6bf588f9594b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh')
-rw-r--r-- | jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh | 10 |
1 files 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 |