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 war
in the targets
input and -Dgrails.env=integration
in the Properties
input of the config section without any luck.
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With