Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't run groovy scripts

Jothi December 1, 2017

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

0 votes
edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 3, 2017

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
TAGS
AUG Leaders

Atlassian Community Events