Tasks Not Valid for Deploy Job in Azure Pipelines

huangapple go评论67阅读模式
英文:

Tasks Not Valid for Deploy Job in Azure Pipelines

问题

我目前遇到了Azure管道设置的问题。当我尝试运行管道时,收到以下错误信息:

“版本为'Add release annotation to Azure Application Insights resource...:1., Generate release notes:2.'的任务在阶段PRP的部署作业'在代理上运行'中无效。” 

我已检查这些任务在指定的版本中可用,但它们未被识别为我的阶段中部署作业的有效任务。

如果有人之前遇到过这个问题或有任何解决方法的建议,您的帮助将不胜感激。

谢谢!

我尝试了一切来解决它,但仍然被阻止,请帮忙

英文:

I'm currently encountering an issue with my Azure Pipelines setup. When I attempt to run my pipeline, I receive the following error message:

"Tasks with versions 'Add release annotation to Azure Application Insights resource...:1., Generate release notes:2.' are not valid for deploy job 'Run on agent' in stage PRP."

I've checked and these tasks are available in the versions specified, but they're not being recognized as valid for the deployment job in my stage.

If anyone has encountered this issue before or has any suggestions on how to resolve it, your help would be greatly appreciated.

Thank you!

I tried everything to solve it but still blocked please help

答案1

得分: 0

以下是翻译好的部分:

"该任务已被弃用。Microsoft建议直接使用Azure cli或Azure PowerShell:

> 注意
> --
> 如果您仍在使用Application Insights注释部署任务,应将其删除。

https://learn.microsoft.com/en-us/azure/azure-monitor/app/annotations#create-release-annotations-with-the-azure-cli"

英文:

That task is deprecated. Microsoft recommends using the Azure cli or Azure PowerShell directly instead:

> Note
> --
> If you're still using the Application Insights annotation deployment task, you should delete it.

https://learn.microsoft.com/en-us/azure/azure-monitor/app/annotations#create-release-annotations-with-the-azure-cli

huangapple
  • 本文由 发表于 2023年5月10日 23:58:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/76220510.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定