EDIT: I overlooked "Prerequisites for executing build definitions is to have your build agent ready, here are steps to setup your build agent, you can find more details in this blog ." from these steps. I'm currently trying to get that build agent up and running on an Azure VM and will report back.
I'm following these steps to try and get CD and Selenium tests running through my Visual Studio Online TFbuild. I've had some helpful hints after sending some feedback via email, but I'm still not able to get past the file copy step.
- I've created a Windows 10 Enterprise VM.
- I've correctly set the ip address in my build test machines and am able to RDP into the machine.
- I've successfully (after several attempts) gotten Remote Power shell working (though I'm not 100% certain winrm s winrm/config/client '@{TrustedHosts="Hosted Agent"}'). I got the name from https://{}.visualstudio.com/DefaultCollection/_admin/_AgentQueue or Build > edit build > General > Default Queue > Manage.
- PS C:\users\cdd\Desktop> winrm quickconfig WinRM service is already running on this machine. WinRM is already set up for remote management on this computer. This seems to be ready after
- PS remoting is not supported when network connection type is public. Please check http://blogs.msdn.com/b/powershell/archive/2009/04/03/setting-network-location-to-private.aspx.
- and echo "setting executionpolicy" powershell -command "& Set-ExecutionPolicy -executionpolicy unrestricted -force" echo "setting remoting" powershell -command "& Enable-PSRemoting -force"
That's a lot of details, but I'm still stuck after that:
Copy started for - '{ip}:5985' Copy status for machine '{ip}:5985' : 'Failed' Failed to execute the powershell script. Consult the logs below for details of the error. Failed to connect to the path \{ip} with the user cdd for copying.System error 53 has occurred. The network path was not found. For more info please refer to http://aka.ms/windowsfilecopyreadme
I have a few questions:
- Do I have the correct name of the VM?
- Do you have steps on how to get the VM setup to allow FileCopy?
- I'm probably missing something else, I'm not familiar with PowerShell or getting this setup. What can I try to get the path available for my cdd adminstration user that I setup when I created the VM?