Commit ee89dfd
committed
ci(mobile-e2e): retry gradle publish + bump HTTP timeouts
Android compat-gate dispatched run 26258070936 failed in 11 seconds with:
java.io.IOException: Downloading from
https://services.gradle.org/distributions/gradle-9.5.0-bin.zip
failed: timeout (10000ms)
That's the default 10-second Gradle wrapper download socket timeout
biting on a slow services.gradle.org response. The publish step never
ran a single task. Two-pronged fix:
1. Bump Gradle's HTTP timeouts to 60s via GRADLE_OPTS so transient
slow-fetch periods don't trip a single-request hard fail.
2. Wrap the gradlew invocation in a 3-attempt retry loop with a 10s
pause between attempts to absorb single-shot upstream blips.
The retry is scoped to the snapshot-publish step only; build/test
steps below have their own caching/retry semantics.1 parent 9aeb93e commit ee89dfd
1 file changed
Lines changed: 23 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
202 | 220 | | |
203 | 221 | | |
204 | 222 | | |
| |||
0 commit comments