How can I pass the GO environment variable to a task. ie
grunt build-discovery-dev --buildNumber=" ${GO_PIPELINE_COUNTER}.
I want the GO_Pipeline_counter to be replaced with the actual value ie 56.
How can I pass the GO environment variable to a task. ie
grunt build-discovery-dev --buildNumber=" ${GO_PIPELINE_COUNTER}.
I want the GO_Pipeline_counter to be replaced with the actual value ie 56.
The braces characters (as in
${VAR}
) do not work in GoCD tasks. You really must only use the dollar sign without braces (as in$VAR
) for correct replacement of a variable with its value.