Environment Variables
Environment variables influence both startup and task execution.
Startup values you will use most often
GOPHER_ENCRYPTION_KEYGOPHER_CUSTOM_REPOSITORYGOPHER_DEPLOY_KEYGOPHER_CUSTOM_BRANCHGOPHER_ENVIRONMENTGOPHER_LOGDESTGOPHER_LOGLEVELGOPHER_SSH_PORTGOPHER_MESSAGE_FORMAT
Task and pipeline environment
Tasks receive a cleaned environment plus pipeline-specific values. Common examples include:
GOPHER_ENVIRONMENTGOPHER_PROTOCOLGOPHER_USERGOPHER_CHANNELGOPHER_THREAD_IDGOPHER_MESSAGE_IDGOPHER_PIPE_NAMEGOPHER_TASK_NAMEGOPHER_START_PROTOCOLGOPHER_START_CHANNELGOPHER_START_THREAD_IDGOPHER_START_USER
GOPHER_ENVIRONMENT selects environment-specific robot configuration at
startup. It is also exposed to extensions as runtime metadata. The standard v3
authoring convention is to treat GOPHER_ENVIRONMENT=development as a local
prove-it mode: plugins that manage host state, cloud resources, firewall rules,
or persistent robot memory should validate inputs and report intended actions
without making those changes.
For task authors, the practical rule is simple: use GetParameter(...) for
important values, because it sees explicit parameters and runtime metadata. Use
the process environment for integration with external scripts and tools.