Today we bumped into an interesting issue in the jenkins builds of some android based applications. The gradle commands succeeded but then suddenly failed the build with this most cryptic message ever:


Total time: 1 mins 20.492 secs

FAILURE: Build failed with an exception.

* What went wrong:
Already finished

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
[Pipeline] }

Since this came out of nowhere without any modification on the build servers we where flabbergasted since the builds ran fine on our local machines.

So …