Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom Environment in Grails for Hudson/Jenkins

I'm using the Grails plugin for Jenkins (formerly Hudson) and didn't find a way to specify a custom environment for a target.

I tried -Dgrails.env=myEnvironment warin the targets input and -Dgrails.env=integration in the Properties input of the config section without any luck.

like image 307
z00bs Avatar asked Mar 28 '11 07:03

z00bs


1 Answers

You should just be able to put grails.env=integration in the properties pane of the Build With Grails build step. Is that what you tried?

like image 70
tim_yates Avatar answered Nov 10 '22 03:11

tim_yates