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 Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

437 views 0 9
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