Commit Graph

5 Commits

Author SHA1 Message Date
YuanXuan 55d035cb9c fix(ci): retry apk build after clearing corrupted Gradle cache
Handle sporadic Gradle wrapper zip corruption on Jenkins by retrying
build once after removing ~/.gradle/wrapper/dists.

Made-with: Cursor
2026-03-24 11:14:13 +08:00
YuanXuan 9fbefc4438 chore(ci): add heartbeat logs during flutter apk build
Print a timestamp every 30 seconds while flutter build runs so long
Gradle/download phases are visible in Jenkins instead of appearing hung.

Made-with: Cursor
2026-03-24 10:49:25 +08:00
YuanXuan f072df7b76 fix(ci): avoid Groovy GString parse errors in Jenkins shell block
Jenkins CPS Groovy rejects patterns like if [ "${params.X}" = "true" ].
Assign params to shell variables first, then use $VAR in tests and EXTRA_ARGS.

Made-with: Cursor
2026-03-24 10:24:42 +08:00
YuanXuan 0bfb1e67e0 fix(ci): escape EXTRA_ARGS in Jenkinsfile GString
Groovy interpolated $EXTRA_ARGS as a pipeline binding property, which
raised MissingPropertyException and skipped flutter build apk. Prefix
dollar signs with backslash so the shell receives literal $EXTRA_ARGS.

Made-with: Cursor
2026-03-24 10:17:29 +08:00
Max 96adc5cd91 build(jenkins): add Jenkins pipeline for Android and dynamic app update script 2026-03-24 09:48:29 +08:00