Gradle build is failing with no message

Run it from the command line and it complains of a null in the init script. I am using gradle 1.11 to build an Android project. When I run gradle on my own (w/out the init script), of course it works.

3 comments
Comment actions Permalink

codeslubber wrote:
Run it from the command line and it complains of a null in the init script     


I am not sure I understood you. You did try to launch gradle with TeamCity's init script and it failed? This init script is designed to run in TeamCity agent's environment only and looks for some specific env. variables that are unavailable outside of TeamCity agent.

But what was the root cause of the issue? Do you have problems running Gradle build step in TeamCity? Can you attach a build log with error messages?

0
Comment actions Permalink

Figured this one out. Somehow the ANDROID_HOME I was setting in launchctl was not getting picked up. Just defined it in the build.

0
Comment actions Permalink

Thank you for the follow up!


0

Please sign in to leave a comment.