2017-04-11 5 views
0

TFS vNextを使用してAzure VMにデプロイされたWeb APIを更新する方法を探しています。 Web Apiは複数のAzure仮想マシン(クラシック)に配備されています。ファイルをVMにコピーするための "Azure File Copy"タスクが失敗しました

"Azure File Copy"タスクを使用して、公開されたWebサイトを仮想マシンの関連するフォルダにコピーしています。

enter image description here

ビルドは罰金をBLOBにローカルファイルパスからファイルをアップロードするために行くが、それは問題を解決するために管理され、次のエラー

2017-04-11T10:54:53.1524432Z ##[error], ServiceCommandException\r\n FullyQualifiedErrorId :CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand\r\n"}};] 
2017-04-11T10:54:53.1674435Z ##[warning]'##vso[task.logissue type=error;code={"Task_Internal_Error":Failed to start service 'VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c'. Consult the logs below:' contains logging command keyword '##vso', but it's not a legal command. Please reference documentaion to fix any potentially syntax error (http://go.microsoft.com/fwlink/?LinkId=817296) 
2017-04-11T10:54:53.1684427Z ##vso[task.logissue type=error;code={"Task_Internal_Error":Failed to start service 'VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c'. Consult the logs below: 
2017-04-11T10:54:53.1684427Z Service 'VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c (VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c)' cannot be started due to the following error: Cannot start service VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c on computer '.'. 
2017-04-11T10:54:53.1684427Z CategoryInfo :OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException 
2017-04-11T10:54:53.1684427Z FullyQualifiedErrorId :CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand 
2017-04-11T10:54:53.1684427Z For more info please refer to https://aka.ms/azurefilecopyreadme};] 
2017-04-11T10:54:53.3654455Z ##[error]Failed to start service 'VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c'. Consult the logs below: 
Service 'VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c (VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c)' cannot be started due to the following error: Cannot start service VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c on computer '.'. 
CategoryInfo :OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException 
FullyQualifiedErrorId :CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand 
+0

マシンはWinRM接続を許可するように構成されていますか?あなたは文書を見直しましたか? https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/AzureFileCopy/README.md –

+0

TFSのバージョンは? AzCopyコマンドラインを使用してファイルをAzure VMにコピーできますか? (https://docs.microsoft.com/en-in/azure/storage/storage-use-azcopy#file-upload) –

+0

マシンはWinRM接続を許可されており、TFS 2017 Update 1 –

答えて

0

で失敗した後。エラーの原因となった無効な資格情報でした。私はマシン名で "admin login"のログインを使用していました。名前のログイン部分だけを使用した場合、正常に動作しました。

関連する問題