我已经使用自定义映像创建了VMSS。我已经在VMSS上的.Net MVC中托管了Web应用程序构建。我已经通过引用以下https://docs.microsoft.com/en-us/azure/devops/pipelines/apps/cd/azure/deploy-azure-scaleset?view=azure-devops从Azure DevOps配置了CI / CD。
它显示错误D:\a\_temp\1575277721063\packer\packer.exe failed with return code: 1
。任何建议/建议表示赞赏。
以下是Log中一些失败的命令:
1. azure-arm: resources.DeploymentsClient#CreateOrUpdate: Failure sending request: StatusCode=200 -- Original Error: Long running operation terminated with status 'Failed': Code="DeploymentFailed" Message="At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details."
2. Some builds didn't complete successfully and had errors:
2019-12-02T09:57:31.5222618Z --> azure-arm: resources.DeploymentsClient#CreateOrUpdate: Failure sending request: StatusCode=200 -- Original Error: Long running operation terminated with status 'Failed': Code="DeploymentFailed" Message="At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details."
3. 2019-12-02T09:57:31.5222868Z ==> Builds finished but no artifacts were created.
答案 0 :(得分:0)
由于来自管道的错误消息(DeploymentFailed)是通用消息,因此如果不查看基础日志或管道详细信息就很难调查此问题。
要对其进行进一步的故障排除,请尝试以下操作: