From: garciadeblas Date: Fri, 18 Nov 2022 08:54:00 +0000 (+0100) Subject: Fix logs before removing repo X-Git-Tag: v12.0.4~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F03%2F12703%2F2;p=osm%2Fdevops.git Fix logs before removing repo Change-Id: I2ab85cbb8ee7de1f761ed357dd0ec388009c5852 Signed-off-by: garciadeblas --- 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}") {