You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lp...@apache.org on 2023/03/15 05:16:37 UTC

[shiro] branch main updated: fix(Jenkins): cleanWs() -> cleanBeforeCheckout()

This is an automated email from the ASF dual-hosted git repository.

lprimak pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shiro.git


The following commit(s) were added to refs/heads/main by this push:
     new 02e0f712 fix(Jenkins): cleanWs() -> cleanBeforeCheckout()
02e0f712 is described below

commit 02e0f71238d9f0bde39528e0ff15a587d76ec569
Author: lprimak <le...@flowlogix.com>
AuthorDate: Wed Mar 15 01:15:24 2023 -0400

    fix(Jenkins): cleanWs() -> cleanBeforeCheckout()
---
 .jenkins.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.jenkins.groovy b/.jenkins.groovy
index bcd59f89..4ff18a73 100644
--- a/.jenkins.groovy
+++ b/.jenkins.groovy
@@ -72,7 +72,7 @@ pipeline {
                     stage('Cleanup') {
                         steps {
                             echo 'Cleaning up the workspace'
-                            cleanWs()
+                            cleanBeforeCheckout()
                         }
                     }
 
@@ -162,7 +162,7 @@ Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANC
                     success {
                         // Cleanup the build directory if the build was successful
                         // (in this case we probably don't have to do any post-build analysis)
-                        cleanWs()
+                        cleanBeforeCheckout()
                         script {
                             if (deployableBranch
                                     && (currentBuild.previousBuild != null) && (currentBuild.previousBuild.result != 'SUCCESS')) {