From 55e62ac7b6e9f7ebb59b7facab8970fa905e954a Mon Sep 17 00:00:00 2001 From: lprimak Date: Wed, 15 Mar 2023 01:15:24 -0400 Subject: [PATCH] fix(Jenkins): cleanWs() -> cleanBeforeCheckout() --- .jenkins.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.jenkins.groovy b/.jenkins.groovy index a20c7c182c..88b3033994 100644 --- a/.jenkins.groovy +++ b/.jenkins.groovy @@ -72,7 +72,7 @@ pipeline { stage('Cleanup') { steps { echo 'Cleaning up the workspace' - cleanWs() + cleanBeforeCheckout() } } @@ -160,7 +160,7 @@ Check console output at "${env.JOB_NAME} [${env.BRANC success { // Cleanup the build directory if the build was successful // (in this cae we probably don't have to do any post-build analysis) - cleanWs() + cleanBeforeCheckout() script { if (deployableBranch && (currentBuild.previousBuild != null) && (currentBuild.previousBuild.result != 'SUCCESS')) {