Update Jenkinsfile and setup_workspace.sh
This commit is contained in:
parent
beba5b7deb
commit
3d6bd59f55
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -26,7 +26,7 @@ pipeline {
|
||||
dir 'jenkins/docker'
|
||||
filename 'dockerfile'
|
||||
additionalBuildArgs '--build-arg version=1.0.0'
|
||||
args "-v \"${env.WORKSPACE}/tdlight-java/src/main:/output\" -v \"$HOME:/var/maven\" -v \"${env.WORKSPACE}:/work\""
|
||||
args "--user 1000:1000 -v \"${env.WORKSPACE}/tdlight-java/src/main:/output\" -v \"$HOME:/var/maven\" -v \"$HOME/.ccache:/work/ccache\""
|
||||
reuseNode false
|
||||
}
|
||||
}
|
||||
|
@ -20,6 +20,10 @@ source ./jenkins/scripts/setup_variables.sh
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
echo "Linux"
|
||||
echo "CCACHE statistics:"
|
||||
ccache -s
|
||||
echo "CCACHE dir content: $CCACHE_DIR"
|
||||
ls -alch "$CCACHE_DIR"
|
||||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
echo "OSX"
|
||||
elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user