G'day,
I'm looking at doing some more complicated Automated builds, so I can test various editions of components and my software.
Is there a commandline option that allows you to specify a vault folder and extract the current working folder?
Background
1. I want to create a series of build combinations in separate directories
2. I would record the current working directory.
3. Change the directory to an new one
4. Get all the code and compile
5. Run Nunit tests
6. Revert the working directory back to the previous one.
Command Line to find current working directory
Moderator: SourceGear
-
- Posts: 39
- Joined: Tue Oct 02, 2007 3:21 am
- Location: Brisbane, Australia
- Contact:
Command Line to find current working directory
Jamie Clayton
Jenasys Design Pty Ltd (Australia)
Jenasys Design Pty Ltd (Australia)
Re: Command Line to find current working directory
A command-line client does install with the regular Vault client. A list of commands is posted here: Command Line Client Help.
Rather than changing the working directory back and forth, you can just Get to a different folder. It would be something like:
vault GET -host xxxxxx -user xxxxxx -password xxxxxxx -repository "Some Repository" -nonworkingfolder "C:\some path on disk\some folder" "$/Folder1/some path to a folder in Vault"
Rather than changing the working directory back and forth, you can just Get to a different folder. It would be something like:
vault GET -host xxxxxx -user xxxxxx -password xxxxxxx -repository "Some Repository" -nonworkingfolder "C:\some path on disk\some folder" "$/Folder1/some path to a folder in Vault"
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support