From ea055907c8e36b82392a2c3ee840c91577282219 Mon Sep 17 00:00:00 2001 From: Ruben Abad Date: Tue, 20 Feb 2024 11:42:11 +0100 Subject: [PATCH] get dependencies from cache --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 39a72f9df..f461bdae1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,8 +30,8 @@ pipeline options{skipDefaultCheckout()} steps { - pwd() - sh "ls -la ${pwd()}" + sh "cp ../../Build_Linux.tar.gz ." + stash includes: 'Build_Linux.tar.gz', name: 'build_cache' } } stage('prepare environment') @@ -46,6 +46,8 @@ pipeline { steps { + unstash name: 'build_cache' + sh 'tar -xvzf Build_Linux.tar.gz' 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"' }