I have configured one Azure VM as a private agent in Visual Studio Team Services.
- Created one Azure VM
- Installed required software's to compile the .net solution
- Configured Build Agent on VM by following these steps - (Deploy an agent on Windows)
- After configuring the agent, the status of agent is Online
I have created one build definition to only getsources task and Nuget restore task. Here the agent used is now the private agent.
When the build is triggered,Get Sources task execution was completed.Below are the logs showed in GetSources task:
##[section]Starting: Get Sources
Syncing repository: VHS (TfsGit)
Prepending Path environment variable with directory containing 'git.exe'.
##[command]git version
git version 2.14.3.windows.1
##[command]git lfs version
git-lfs/2.3.4 (GitHub; windows amd64; go 1.8.3; git d2f6752f)
##[command]git init "D:\a\1\s"
But when I checked in Azure VM, the directory D:\a\1\s was not created.
- Where will the code get copied?
- How can I change the path to which the source should get copied?
- In Azure VM I only have the C drive, How can I use this drive to get the source code copied?
- Do I need to configure Team Foundation Build Service on that VM for Build Controller?
