In my TeamCity project I have a PowerShell build step, I need to get the current working dir of team city in the script. I tried this code to get it from the environment variables, however, the environment variable is apparently null
:
"Working Dir: " + $env:teamcity_build_workingDir
How can I access the TeamCity variables, or how can I get the current working path of the TeamCity project?