You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2024/09/22 19:25:01 UTC

(maven-gh-actions-shared) 01/01: Retry clean on error

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

sjaranowski pushed a commit to branch clen-retry
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git

commit cef0722cb3e382c3c0f64f42ad6472c70b542ba1
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun Sep 22 21:24:50 2024 +0200

    Retry clean on error
---
 .github/workflows/maven-verify.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index ad8bec7..8fcad19 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -243,7 +243,7 @@ jobs:
         shell: bash
 
       - name: Clean Ensuring no file handle remains open on windows
-        run: ./mvnw clean --errors --batch-mode --show-version
+        run: ./mvnw clean --errors --batch-mode --show-version -Dmaven.clean.retryOnError
 
   # prepare matrix data for verify step
   setup-matrix:
@@ -385,4 +385,4 @@ jobs:
 
       - name: Clean Ensuring no file handle remains open on windows
         if: steps.should-run.conclusion == 'success'
-        run: ./mvnw clean --errors --batch-mode --show-version
+        run: ./mvnw clean --errors --batch-mode --show-version -Dmaven.clean.retryOnError