Skip to main content

3 posts tagged with "GoCD"

Open-source continuous integration and continuous delivery system

View All Tags

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:

Using NVM in a GoCD Agent

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:

Using RVM in a 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: