diff options
Diffstat (limited to 'jjb')
-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 |