Custom Environment in Grails for Hudson/Jenkins
Asked Answered
H

1

11

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.

Hottempered answered 28/3, 2011 at 7:29 Comment(2)
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?Schonthal
Thanks, that works! I could have sweared I tried that out. I'll accept your answer if you post one.Hottempered
S
13

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?

Schonthal answered 28/3, 2011 at 11:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.