From 1d77cec6ef0e19e2e33f16683d9b33236f7c1296 Mon Sep 17 00:00:00 2001 From: Ruben Abad Date: Wed, 7 Feb 2024 02:42:50 +0100 Subject: [PATCH 1/3] prevent delete dir content --- Jenkinsfile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0021960ac..44f1fa7d4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -115,7 +115,6 @@ pipeline { archiveArtifacts 'CarlaUE4.log' junit 'Build/test-results/smoke-tests-*.xml' - deleteDir() } } } @@ -178,13 +177,6 @@ pipeline ''' } } - post - { - always - { - deleteDir() - } - } } stage('TEST: ubuntu Doxygen generation') { From 61cc60ffe0856d640f5995b75950ef1e75c1ab23 Mon Sep 17 00:00:00 2001 From: Ruben Abad Date: Wed, 7 Feb 2024 13:29:18 +0100 Subject: [PATCH 2/3] fix workspace --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 44f1fa7d4..95bcc18f1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,6 +28,7 @@ pipeline { steps { + sh 'echo "Current workspace is ${env.WORKSPACE}"' 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"' } @@ -195,7 +196,7 @@ pipeline steps { - dir('${env.WORKSPACE}/doc_repo') + dir("${env.WORKSPACE}/doc_repo") { checkout scmGit( branches: [[name: '*/ruben/jenkins_migration']], From 4fdd8d73f2e7c2792c87d5568b766593d83dbee4 Mon Sep 17 00:00:00 2001 From: Ruben Abad Date: Wed, 7 Feb 2024 13:33:57 +0100 Subject: [PATCH 3/3] minor change --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 95bcc18f1..ce7abbfaf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,7 +28,7 @@ pipeline { steps { - sh 'echo "Current workspace is ${env.WORKSPACE}"' + sh 'echo "Current workspace is ${WORKSPACE}"' 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"' }