I'm using GoCD in Windows environments, and trying to use the standard 
environment variable GO_PIPELINE_COUNTER to enumerate things distinctly. 
But I can't get any standard environment variable to work, such as with 
this kind of command:
```
        <jobs>
          <job name="PullAndUpdate">
            <tasks>
              <exec command="echo">
                <arg>${env.GO_PIPELINE_COUNTER}</arg>
                <runif status="passed" />
              </exec>
```
I've tried with and without braces and parentheses, and with $ and % (# is 
apparently only for parameters), and with and without "env.". Anything I 
try just gives me the literal text as output.

Is there any way to actually USE the standard environment variables within 
a pipeline?


Thank you!!!   Michael F.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/2271247d-94f9-4800-b10d-3c00e0c3029en%40googlegroups.com.

Reply via email to