0

我使用自定义映像创建了 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.
4

1 回答 1

0

由于来自管道的错误消息 (DeploymentFailed) 是通用消息,因此如果不查看底层日志或管道详细信息,就很难调查问题。

要进一步排除故障,请尝试以下操作:

于 2019-12-29T06:48:02.213 回答