Merge "Remove Ubuntu 14.04 jobs"
[ci-management.git] / jjb / nsh_sfc / include-raw-nsh_sfc-build.sh
index 1d5d27c..98cbbd5 100644 (file)
@@ -28,6 +28,15 @@ fi
 echo "sha1sum of this script: ${0}"
 sha1sum $0
 
+if [ -n "${MVN}" ]
+then
+  export MAVEN_HOME=$(dirname ${MVN})/..
+else
+  export MAVEN_HOME="/opt/apache/maven/"
+fi
+
+export PATH=${MAVEN_HOME}/bin:${PATH}
+
 scripts/ci/verify.sh
 
 echo "*******************************************************************"