1
0

Update Jenkinsfile and setup_variables.sh

This commit is contained in:
Andrea Cavalli 2020-10-03 15:32:14 +02:00
parent cb3a22fa0f
commit ae7f5f9822
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -24,7 +24,7 @@ pipeline {
agent { agent {
docker { docker {
image 'dockcross/linux-x64' image 'dockcross/linux-x64'
args '-v $JAVA_HOME:/java -v $HOME:/var/maven -v $HOME:/work -v $HOME:$HOME' args '-v $JAVA_HOME:/java -v $HOME:/var/maven -v $HOME:/work'
reuseNode true reuseNode true
} }
} }

View File

@ -4,7 +4,7 @@ set -e
# ====== Static variables # ====== Static variables
export TRAVIS_CPU_ARCH="amd64" export TRAVIS_CPU_ARCH="amd64"
export TRAVIS_OS_NAME="linux" export TRAVIS_OS_NAME="linux"
export TRAVIS_BUILD_DIR="$(realpath ./tdlight-java/)" export TRAVIS_BUILD_DIR="/workdir/tdlight-java"
# ====== Variables # ====== Variables
export TD_SRC_DIR=$TRAVIS_BUILD_DIR/dependencies/tdlight export TD_SRC_DIR=$TRAVIS_BUILD_DIR/dependencies/tdlight