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

tzimanyi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-benchmarks.git


The following commit(s) were added to refs/heads/main by this push:
     new bb753e6c kie-issues#667: fix cleanup and settingsXml handling (#273)
bb753e6c is described below

commit bb753e6cf44a4120a4a7899b96cab91068bef80e
Author: Jan Stastny <[email protected]>
AuthorDate: Thu Nov 2 15:28:09 2023 +0100

    kie-issues#667: fix cleanup and settingsXml handling (#273)
    
    Co-authored-by: jstastny-cz <[email protected]>
---
 .ci/jenkins/Jenkinsfile.branch          | 24 ++++++++++++------------
 .ci/jenkins/Jenkinsfile.bump-up-version |  6 +++---
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile.branch b/.ci/jenkins/Jenkinsfile.branch
index f01076f8..8d3c792e 100644
--- a/.ci/jenkins/Jenkinsfile.branch
+++ b/.ci/jenkins/Jenkinsfile.branch
@@ -14,7 +14,7 @@ pipeline {
     agent {
         label "$AGENT_LABEL"
     }
-    options{
+    options {
         timestamps()
     }
     tools {
@@ -24,7 +24,7 @@ pipeline {
     stages {
         stage('CleanWorkspace') {
             steps {
-                cleanWs()
+                cleanWs(disableDeferredWipeout: true)
             }
         }
         stage('clone kie-benchmarks') {
@@ -34,27 +34,27 @@ pipeline {
                 }
             }
         }
-        stage('create new branch'){
-            steps{
-                dir("${WORKSPACE}/${benchmarksRepo}"){
-                    script{
+        stage('create new branch') {
+            steps {
+                dir("${WORKSPACE}/${benchmarksRepo}") {
+                    script {
                         githubscm.createBranch(NEW_BRANCH)
                     }
                 }
             }
         }
-        stage('push new branch'){
-            steps{
-                dir("${WORKSPACE}/${benchmarksRepo}"){
-                    script{
+        stage('push new branch') {
+            steps {
+                dir("${WORKSPACE}/${benchmarksRepo}") {
+                    script {
                         githubscm.pushObject('origin', NEW_BRANCH)
                     }
                 }
             }
         }
     }
-    post{
-        always{
+    post {
+        cleanup {
             cleanWs()
         }
     }
diff --git a/.ci/jenkins/Jenkinsfile.bump-up-version 
b/.ci/jenkins/Jenkinsfile.bump-up-version
index 9ebfa8db..471254f7 100644
--- a/.ci/jenkins/Jenkinsfile.bump-up-version
+++ b/.ci/jenkins/Jenkinsfile.bump-up-version
@@ -26,7 +26,7 @@ pipeline {
         stage('Initialize') {
             steps {
                 script {
-                    cleanWs()
+                    cleanWs(disableDeferredWipeout: true)
 
                     dir("${repoName}") {
                         deleteDir()
@@ -52,8 +52,8 @@ pipeline {
             }
         }
     }
-    post{
-        always{
+    post {
+        cleanup {
             cleanWs()
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to