Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Bamboo to run a gradle script

user6816810
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 4, 2019

I've set up a Bamboo plan that triggers when a new commit is made to a Github repo.

I'm now in the process of setting up a job to build an Android .apk of that code. I've set up a script which looks like the following:

https://i.imgur.com/CB6YPDy.png

However, when I run the plan, I get the following output:

'gradlew' is not recognized as an internal or external command, operable program or batch file.

What should I change in my script to get this to work?

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
February 9, 2019

Hi! 

Looks like your script run on incorrect agent instead with gradle installation

https://confluence.atlassian.com/bamboo/agents-and-capabilities-289277114.html

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events