Can't run groovy scripts

Hi,

I'm new to bamboo.

I installed bamboo 6.2.3 on centos 7.

I need to run groovy script as my task.

While I'm searching Task types in bamboo, it only displaying Grails,Grunt,Gulp.

I can't find any task type related to groovy.

Is there any other way to run groovy scripts as bamboo task type?

Can anyone help me on this?

1 answer

Hi Jothi,

You can use

#!/usr/bin/env groovy

groovy -v

inside a script task. Make sure groovy is in the path.

Screen Shot 2017-12-04 at 01.00.59.png 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

142 views 0 6
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