diff --git a/Jenkinsfile b/Jenkinsfile index 435daa2..1e790f4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { agent { docker { image 'dockcross/linux-x64' - args "-v $JAVA_HOME:/java -v $HOME:/var/maven -v \"${env.WORKSPACE}:/work\"" + args "-v $JAVA_HOME:/java -v $HOME:/var/maven -v \"${env.WORKSPACE}:${env.WORKSPACE}\"" reuseNode true } } diff --git a/jenkins/scripts/setup_variables.sh b/jenkins/scripts/setup_variables.sh index ff04ebd..fcd3e6f 100755 --- a/jenkins/scripts/setup_variables.sh +++ b/jenkins/scripts/setup_variables.sh @@ -4,7 +4,7 @@ set -e # ====== Static variables export TRAVIS_CPU_ARCH="amd64" export TRAVIS_OS_NAME="linux" -export TRAVIS_BUILD_DIR="/workdir" +export TRAVIS_BUILD_DIR="${env.WORKSPACE}" # ====== Variables export TD_SRC_DIR=$TRAVIS_BUILD_DIR/dependencies/tdlight