Ant Buildstep with local environment variables Follow
hello i have an ant build.xml which runs fine when started without teamcity on the agent computer.
however when started via a teamcity build it fails because it can t resolve an environment variable which is defined on the agent computer only but not on the teamcity server computer.
what can i do about that?
Please sign in to leave a comment.
Hi
TeamCity server does not execute Ant scripts - it's performed by build agents on other machines.
Probably build agent service is launched under different account, so its environment variable set differs from the set you're checking.