0

ASE と同じ vNet の別のサブネットに仮想マシン ビルド エージェントを作成し、ホスト ファイルを追加しました (以下を参照)。「bar」はカスタム ドメイン名、「foo」は App Service の名前です。

X.X.X.X ase.bar.com  
X.X.X.X foo.scm.ase.bar.com

ILB IP アドレス (これも試しました) ではなく、ASE (XXXX) の管理 IP を指しています。

ASE のネットワーク セキュリティ グループには、vNet から vNet へのすべて許可、http ポート 80、および http ポート 443 許可ルールがあります。アプリケーション ゲートウェイを介してパブリック インターネットからサイトにアクセスできます。

これはビルド エージェントのログ ファイルで、msdeploy.exe が使用可能であることを示しています (これが唯一の実際のエラーです)。

2018-01-16T07:11:00.2540236Z ==============================================================================
2018-01-16T07:11:00.2540236Z Task         : Azure App Service Deploy
2018-01-16T07:11:00.2540236Z Description  : Update Azure WebApp Services On Windows, Web App On Linux with built-in images or docker containers, ASP.NET, .NET Core, PHP, Python or Node based Web applications, Function Apps, Mobile Apps, Api applications, Web Jobs using Web Deploy / Kudu REST APIs
2018-01-16T07:11:00.2540236Z Version      : 3.3.32
2018-01-16T07:11:00.2540236Z Author       : Microsoft Corporation
2018-01-16T07:11:00.2540236Z Help         : [More Information](https://aka.ms/azurermwebdeployreadme)
2018-01-16T07:11:00.2540236Z ==============================================================================
2018-01-16T07:11:02.8799772Z Got connection details for Azure App Service:'webapp-foo'
2018-01-16T07:11:03.0925290Z [command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\AGENT-DEPLOY\_work\r1\a\Drop\drop\fooWebApp.zip' -dest:auto,ComputerName='https://foo.scm.ase.bar.com:443/msdeploy.axd?site=foo',UserName='********',Password='********',AuthType='Basic' -setParam:name='IIS Web Application Name',value='foo' -allowUntrusted -enableRule:DoNotDeleteRule -userAgent:VSTS_f9d82ee3-5a3a-4ad7-a346-2f007ffd3714_release_1_4_4_12
2018-01-16T07:11:03.3894107Z Info: Using ID 'a2a46e66-4bbf-40e5-954c-95f4bff4d7a8' for connections to the remote server.
2018-01-16T07:11:24.4945264Z ##[error]Failed to deploy web package to App Service.
2018-01-16T07:11:24.4945264Z ##[error]Error Code: ERROR_DESTINATION_NOT_REACHABLE
More Information: Could not connect to the remote computer ("foo.scm.ase.bar.com"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.
Error: Unable to connect to the remote server
Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond X.X.X.X:443
Error count: 1.

2018-01-16T07:11:24.4945264Z ##[error]Error: C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return code: 4294967295
2018-01-16T07:11:45.5308399Z ##[warning]Error: connect ETIMEDOUT X.X.X.X:443
2018-01-16T07:11:45.5308399Z ##[section]Finishing: Deploy Azure App Service
2018-01-16T07:11:45.5464533Z ##[section]Finishing: Release
4

0 に答える 0