Skip to content

Commit a22658d

Browse files
committed
Add Maven options to retry failed downloads
1 parent b0cfbcc commit a22658d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/complete.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ jobs:
152152
with:
153153
maven-version: 3.6.3
154154
- name: build-jar
155+
env:
156+
# Try to add retries to prevent download failure
157+
# https://github.community/t/getting-maven-could-not-transfer-artifact-with-500-error-when-using-github-actions/17570
158+
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3
155159
run: make build-java-no-tests REVISION=${GITHUB_SHA}
156160
- name: copy to gs
157161
run: gsutil cp ./spark/ingestion/target/feast-ingestion-spark-${GITHUB_SHA}.jar gs://feast-jobs/spark/ingestion/

0 commit comments

Comments
 (0)