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:
Open-source continuous integration and continuous delivery system
View All TagsTo 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:
NVM cannot be used directly in a GoCD agent, because the agent uses a non-interactive shell when running jobs.
Instead, use nvm-exec to run NVM commands in the GoCD agent:
RVM cannot be used directly in a GoCD agent, because the agent uses a non-interactive shell when running jobs.
Instead, pass the RVM shell script to the bash command to load RVM in the GoCD agent: