I am trying to use script to deploy an web app to azure, script works fine on the command line on the bamboo server, but when I set up the deployment plan on bamboo, try to execute the deployment plan, I got ERROR_DESTINATION_NOT_REACHABLE.
I copy the script generated by bamboo deployment plan, past it on the command line directly, works fine. Any idea? Here is the script:
msdeploy.exe -source:package=C:\bamboo\xml-data\build-dir\72548353-72712193\myApp.zip -dest:auto,computerName="https://blah.scm.azurewebsites.net:443/msdeploy.axd?site=blah__dev",userName="username",password="password",authtype="Basic",includeAcls="False" -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParam:"IIS Web Application Name"="blah__dev/Launch" -setParam:"applicationDB-Web.config Connection String"="Server=.;Database=applicationDB;Integrated Security=True" -skip:skipAction=Delete