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
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

103 views 3 4
Join discussion

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