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

jstastnycz pushed a commit to branch radtriste-fix-pipelines
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git


The following commit(s) were added to refs/heads/radtriste-fix-pipelines by 
this push:
     new dada63dd fix cleanup in build-image
dada63dd is described below

commit dada63dd49cafe9bf8f7c895d1f2154d96a9081b
Author: jstastny-cz <[email protected]>
AuthorDate: Wed Nov 22 08:24:58 2023 +0100

    fix cleanup in build-image
---
 .ci/jenkins/Jenkinsfile.build-image | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile.build-image 
b/.ci/jenkins/Jenkinsfile.build-image
index 9a7b1d99..a78ebe30 100644
--- a/.ci/jenkins/Jenkinsfile.build-image
+++ b/.ci/jenkins/Jenkinsfile.build-image
@@ -201,10 +201,10 @@ pipeline {
             }
         }
         cleanup {
-            util.cleanNode(env.CONTAINER_ENGINE)
-
-            cloud.cleanDockerMultiplatformBuild()
-            cloud.cleanLocalRegistry(env.localRegistryUrl.split(':')[1])
+            script {
+                cloud.cleanDockerMultiplatformBuild()
+                util.cleanNode(env.CONTAINER_ENGINE)
+            }
         }
     }
 }


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

Reply via email to