CI: Gradle build daemon disappeared unexpectedly
Builds occasionally fail with the follow error:
FAILURE: Build failed with an exception.
* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Cleaning up file based variables
00:02
ERROR: Job failed: exit code 1
definition of done:
-
find out why this happens -
fix it -
document if necessary
Hints:
- example of a failing job: https://gitlab.com/indie-sleep-demo/dockerfiles/-/jobs/1351560992
Edited by Ilka Schulz