My settings:
image: uber/android-build-environment:latest pipelines: default: - step: script: - mkdir "${ANDROID_HOME}/licenses" || true - echo "8933bad161af4178b1185d1a37fbf41ea5269c55" > "${ANDROID_HOME}/licenses/android-sdk-license" - bash ./gradlew build crashlyticsUploadDistributionRelease
FAILURE: Build failed with an exception.
* Where:
Build file '/opt/atlassian/pipelines/agent/build/build.gradle' line: 52
* What went wrong:
A problem occurred evaluating root project 'build'.
> For input string: ""
What could be the cause of the error. Looks like that is something wrong on server.
Hey @[deleted],
Everything looks correct, the only thing I'm not sure about is how you invoke the gradle wrapper; if you turn that last line into
bash -c "./gradlew build crashlyticsUploadDistributionRelease"
does that improve it? I'm thinking that the arguments "build" and "crashlyticsUploadDistributionRelease" are going to bash, not to gradlew
-Seb
Hey @SebC
The problem is not related with: crashlyticsUploadDistributionRelease.
Problem occurs related with don't installed git on image. Always when I commit something I counts commits.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.