Calling Vault CLC from PowerShell runner

I'm using a PowerShell runner script to call out to SourceGear Vault's command line client. For some reason, when I ask for the list of working folders for a repository, it comes back with an empty list. I've run the same command in powershell outside of TeamCity using the same executable and same parameters, and have received the expected listing of folders. I've tried other vault commands, and they seem to return information. Any ideas?

2 comments
Comment actions Permalink

Hello Nick,

Please check that the build runs fine on the same machine as the TeamCity agent and under the same user that the agent is running, with the same environment variables and the same working directory. Also follow all the steps described in the doc section.

0
Comment actions Permalink

I ended up just using a temporary Working folder to perform the operations I needed. Thanks for your reply.

0

Please sign in to leave a comment.