Configure Bamboo for Android Gradle based Project

I am trying to setup Bamboo for my Gradle build system based Android Project. I have done the following setup on Bamboo.I'm done with rest of all setup upto project repository path.

I want to run the following tasks using gradlew for android

clean assembleDebug LintDebug

For that I have created new task called Gradle Wrapper. Below is the Gradle Wrapper Configuration

When I am executing gradle wrapper task, I am getting the following error.

Caused by: java.lang.IllegalStateException: Cannot find executable 'D:\AndroidDemo\gradle-2.10\bin\gradlew.bat'

Note :- Standalone Gradle is working fine on local machine with all the tasks(clean assembleDebug LintDebug)

Gradle_Home = D:\AndroidDemo\gradle-2.10\bin(Local machine)

Can anyone suggest a solution for the same?

1 answer

0 vote

Hi, are you running a Bamboo on your local machine? As error says that Bamboo cannot find an executable that is configured to use. You need to check where Gradle is installed on you Bamboo server/agent that is trying to run a build.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,493 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you