Nightly build: provide details on build failure.

This commit is contained in:
Dennis Guse
2024-12-06 07:24:13 +01:00
parent 721b54b06f
commit 05fbfcb914
+2 -2
View File
@@ -26,7 +26,7 @@ def getVersionName = { ->
}
return stdout.toString().trim()
} catch (ignored) {
return null
throw new GradleException('VersionName could not be read:' + ignored.message)
}
}
@@ -39,7 +39,7 @@ def getVersionCode = { ->
}
return Integer.valueOf(stdout.toString().trim())
} catch (ignored) {
return null
throw new GradleException('VersionCode could not be read:' + ignored.message)
}
}