I am using Azure Team Services with a private build agent. There's a build task that builds and publishes the build artifact and a release task that pings the server.
Tool: ping
Arguments: MyServerXXX
But the release task is failing:
2017-06-01T12:51:48.4030953Z ##[command]ping MyServerXXX
2017-06-01T12:51:48.6090956Z Ping request could not find host MyServerXXX. Please check the name and try again.
Both the build agent and myserver are part of the same domain. I successfully can log onto the build server and ping the server. I am using a domain account running inside the build agent that has access to the server. I also tried a fully qualified name. The command works in the build definition but how can I make it work in the release pipeline?