android-ci: pass --stacktrace to the release gradle build
All checks were successful
android-ci / android (pull_request) Successful in 10m27s
All checks were successful
android-ci / android (pull_request) Successful in 10m27s
Run 414 died in :app:packageRelease with an empty cause chain (no Caused by: line at all), so a one-off packaging failure leaves nothing to diagnose. --stacktrace only changes output on failure; it does not alter the build, the artifact or the timings. scripts/build-android-local.sh is the single gradle invocation that both android-ci.yml and android-release.yml build through, so one flag covers both.
This commit is contained in:
parent
0af97e144a
commit
fcdabf8d13
1 changed files with 5 additions and 1 deletions
|
|
@ -59,7 +59,11 @@ echo "==> verifying bundled native executables against $BINARY_MANIFEST"
|
|||
( cd android && sha256sum -c "$(basename "$BINARY_MANIFEST")" )
|
||||
|
||||
echo "==> android build: version $version (versionCode $ONIONWIRE_VERSION_CODE), abi $abi"
|
||||
( cd android && "./gradlew" --no-daemon \
|
||||
# --stacktrace only changes output on failure. Without it a Gradle task failure
|
||||
# can land in the CI log with an empty cause chain (e.g. run 414:
|
||||
# `:app:packageRelease ... IncrementalSplitterRunnable` and no `Caused by:`),
|
||||
# which makes a one-off failure undiagnosable after the fact.
|
||||
( cd android && "./gradlew" --no-daemon --stacktrace \
|
||||
"-Ponionwire.abis=$abi" \
|
||||
"-Ponionwire.versionName=$version" \
|
||||
"-Ponionwire.versionCode=$ONIONWIRE_VERSION_CODE" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue