diff options
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh | 4 |
1 files changed, 3 insertions, 1 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 c92db08cb..74dccf118 100644 --- a/jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh +++ b/jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh @@ -1,8 +1,10 @@ #!/bin/bash # basic build script example set -e -o pipefail - if [ "${OS}" == "ubuntu1404" ]; then + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ + export JAVAC=${JAVA_HOME}/bin/javac + export PATH=${JAVA_HOME}/bin/:${PATH} cd nsh-plugin/build/java/jvpp $MVN deploy \ -gs $GLOBAL_SETTINGS_FILE -s $SETTINGS_FILE |