davide.cavestro wrote:
> 
> I need to control the maximum heap size for my gradle builds on jenkins,
> and it's not so easy to specify it the usual way (through the environment
> variable GRADLE_OPTS or JAVA_OPTS).
> 

There are at least two ways to set environment variables from Jenkins - from
a shell script (which then invokes Gradle) or with the EnvInject plugin.
Does neither of these work for you?

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Is-there-any-way-to-pass-gradle-JVM-options-from-command-line-without-GRADLE-OPTS-env-var-tp4912969p4983435.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to