From 8a68c6c6fca87c91b5681f25af1671f8036e64b0 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Fri, 18 Nov 2022 09:54:00 +0100 Subject: [PATCH] Fix logs before removing repo Change-Id: I2ab85cbb8ee7de1f761ed357dd0ec388009c5852 Signed-off-by: garciadeblas --- jenkins/ci-pipelines/ci_stage_3.groovy | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 3f1190f9..4e082549 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -215,10 +215,11 @@ node("${params.NODE}") { /////////////////////////////////////////////////////////////////////////////////////// stage('Copy Artifacts') { // cleanup any previous repo - sh "pwd" - sh "tree -fD repo" - sh "lsof repo" - sh "rm -rfv repo" + println("Logging system info before deleting repo.") + sh("pwd") + sh("tree -fD repo") + println("Trying to delete previous repo...") + sh("rm -rfv repo") dir('repo') { packageList = [] dir("${RELEASE}") { -- 2.17.1