Skip to main content

JVM Options for GoCD Agent

To configure the GoCD agent, some JVM options may need to be set (for example, to increase memory, set system properties, etc.).

You can set these options using the GOCD_AGENT_JVM_OPTS environment variable, like so:

GOCD_AGENT_JVM_OPTS=-Dtoggle.agent.git.clean.keep.ignored.files=Y