get dependencies from cache

This commit is contained in:
Ruben Abad 2024-02-20 11:42:11 +01:00
parent 234e12fdc7
commit ea055907c8
1 changed files with 4 additions and 2 deletions

6
Jenkinsfile vendored
View File

@ -30,8 +30,8 @@ pipeline
options{skipDefaultCheckout()} options{skipDefaultCheckout()}
steps steps
{ {
pwd() sh "cp ../../Build_Linux.tar.gz ."
sh "ls -la ${pwd()}" stash includes: 'Build_Linux.tar.gz', name: 'build_cache'
} }
} }
stage('prepare environment') stage('prepare environment')
@ -46,6 +46,8 @@ pipeline
{ {
steps steps
{ {
unstash name: 'build_cache'
sh 'tar -xvzf Build_Linux.tar.gz'
sh 'git update-index --skip-worktree Unreal/CarlaUE4/CarlaUE4.uproject' sh 'git update-index --skip-worktree Unreal/CarlaUE4/CarlaUE4.uproject'
sh 'make setup ARGS="--python-version=3.8,2 --target-wheel-platform=manylinux_2_27_x86_64 --chrono"' sh 'make setup ARGS="--python-version=3.8,2 --target-wheel-platform=manylinux_2_27_x86_64 --chrono"'
} }