This should be simple, but I'm really not understanding how TC 5.0 build agents interact with environment variables.
Let's say I have a build runner 'MyProject'. It's using the sln2008 runner. I would like the build runner to set the environment variable 'VAR1' to the internal build number used by TC for storing the artifacts created from 'MyProject'.
I have a dependent build runner named 'DeployMyProject', which uses the command line runner, and is only triggered after a successful build of 'MyProject'. I would like to use the 'VAR1' environment variable as either a parameter passed to the command line, or as a normal environment variable I can reference in a Windows batch file.
Can anyone out there tell me how to interact with environment variables?