File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -898,9 +898,10 @@ verify_maven_central_deployment:
898
898
"https://repo1.maven.org/maven2/com/datadoghq/dd-trace-api/${VERSION}/dd-trace-api-${VERSION}.jar"
899
899
"https://repo1.maven.org/maven2/com/datadoghq/dd-trace-ot/${VERSION}/dd-trace-ot-${VERSION}.jar"
900
900
)
901
- # Try every min for 30 mins to see if the release artifacts are available
901
+ # Wait 5 mins initially, then try 5 times with a minute delay between each retry to see if the release artifacts are available
902
+ sleep 300
902
903
TRY=0
903
- MAX_TRIES=30
904
+ MAX_TRIES=5
904
905
DELAY=60
905
906
while [ $TRY -lt $MAX_TRIES ]; do
906
907
ARTIFACTS_AVAILABLE=true
@@ -913,12 +914,12 @@ verify_maven_central_deployment:
913
914
if [ "$ARTIFACTS_AVAILABLE" = true ]; then
914
915
break
915
916
fi
916
- sleep $DELAY
917
917
TRY=$((TRY + 1))
918
918
if [ $TRY -eq $MAX_TRIES ]; then
919
- echo "The release was not available after 30 mins. Manually re-run the job to try again."
919
+ echo "The release was not available after 10 mins. Manually re-run the job to try again."
920
920
exit 1
921
921
fi
922
+ sleep $DELAY
922
923
done
923
924
924
925
publishing-gate :
You can’t perform that action at this time.
0 commit comments