1
0
Fork 0

Update Jenkinsfile

This commit is contained in:
Andrea Cavalli 2020-10-04 18:47:01 +02:00
parent 03140d5dab
commit 6f94dd676b
1 changed files with 9 additions and 0 deletions

9
Jenkinsfile vendored
View File

@ -20,6 +20,15 @@ pipeline {
defaultValue: false)
}
stages {
stage("Setup workspace") {
steps {
sh "mkdir -p \"${workspace}/.m2\""
sh "chown 1000:1000 -R \"${workspace}/.m2\""
sh "mkdir -p \"${workspace}/.ccache\""
sh "chown 1000:1000 -R \"${workspace}/.ccache\""
}
}
stage("Compile C++") {
agent {
dockerfile {