I have a java application which is built with gradle and it generates a war file upon execution. I want to do all the same things in bamboo but can't find a gradle tasks in bamboo.
Why don't you use Gradle wrapper for that purpose ?
Create a ScriptTask and execute ```./gradlew build```.
While Grzegorz' answer is sound (+1) and will probably cover many use cases, you might also want to check out the (commercial) Groovy Tasks for Bamboo app which provides "Groovy, Gradle, Gradle Wrapper, Gant, and GINT tasks for Bamboo".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have installed the groovy add-on and selected the Gradle task but I am clueless what parameters should be filled the these fields (refer attachment). I am running bamboo in localhost:8085.
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.