You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2025/06/18 01:40:50 UTC

(grails-core) branch retry-build-step created (now c8f3f799dd)

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

jamesfredley pushed a change to branch retry-build-step
in repository https://gitbox.apache.org/repos/asf/grails-core.git


      at c8f3f799dd Retry Build Step when timeout occurs

This branch includes the following new commits:

     new c8f3f799dd Retry Build Step when timeout occurs

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(grails-core) 01/01: Retry Build Step when timeout occurs

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch retry-build-step
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit c8f3f799ddb13b3bb9082bcba65b6e6f6638f4be
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Tue Jun 17 21:40:44 2025 -0400

    Retry Build Step when timeout occurs
---
 .github/workflows/gradle.yml | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index f76a3b1848..5ca7f37bce 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -87,10 +87,15 @@ jobs:
         with:
           develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY  }}
       - name: "🔨 Build project"
-        run: >
-          ./gradlew build :grails-shell-cli:installDist groovydoc
-          --continue --stacktrace -PonlyCoreTests
-          --rerun-tasks
+        uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 #v3.0.2 
+        with: 
+          timeout_seconds: 3600 # normal range 20-40m
+          max_attempts: 3 # Attempts to address: Connect to repository.apache.org:443 [repository.apache.org/65.109.119.155] failed: Connect timed out
+          retry_wait_seconds: 180
+          command: >
+            ./gradlew build :grails-shell-cli:installDist groovydoc
+            --continue --stacktrace -PonlyCoreTests
+            --rerun-tasks
   functional:
     name: "Functional Tests"
     if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }}