升级到Azure DevOps Server 2019和发布管道失败,并显示VssServiceResponseException页面未找到错误

时间:2019-09-12 19:25:58

标签: azure powershell azure-devops azure-pipelines azure-pipelines-release-pipeline

在TFS 2017上运行的我们的发行脚本之一在Azure DevOps 2019 SP 1上不运行。

有一个Powershell脚本,可以在目标计算机上运行远程命令(PowerShellOnTargetMachines.ps1)。它是标准提供的可用管道任务的一部分。您可以在这里看到它:https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/PowerShellOnTargetMachinesV3/PowerShellOnTargetMachines.ps1

运行该脚本时,它将失败,并显示以下内容:

  

[debug]无法为给定的json创建环境对象-   解析值时遇到意外字符:A.路径“,行   0,位置0。

     

[debug] Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException:   找不到网页。

     

[debug]已处理:## vso [task.logissue   类型=错误;代码= {“” Task_Internal_Error“:FaileToFetchResourceProperties};]

最近有一个有关此问题的Microsoft论坛帖子,但这没有任何好的答案。实际上,它建议发布到StackOverflow。

0 个答案:

没有答案