Azure release gates api version 2018-05-05 not showing up results

大憨熊 提交于 2021-01-29 13:21:19

问题


I am trying to use a pre-deployment gate(Query Azure Monitor alerts) in release pipeline. Also I am trying to fetch the alerts since last 30d, but the api version 2018-05-05 is not populating the result. But if I have the api version to 2019-03-01 all alerts are shown.

Problem is the Query Azure Monitor alerts gate is using the api version 2018-05-05, Is there any way to change this inside gate and use the new api version 2019-03-01 ?

Please let me know if there is any other way to get the alerts in gates.

Thanks,


回答1:


Is there any way to change this inside gate and use the new api version 2019-03-01 ?

Sorry for any inconvenience.

I am afraid there is no such way to change the inside gate to use the new api version 2019-03-01. Since it is a built-in gates, we could not modify its source code or customize it to extend.

To resolve this issue, you could submit this request on the github about this task:

https://github.com/microsoft/azure-pipelines-tasks/issues

Note: I could not find the API version 2019-03-01, just 2018-05-05, you could provide the link for 2019-03-01 when you submit the request.

Hope this helps.



来源:https://stackoverflow.com/questions/61184621/azure-release-gates-api-version-2018-05-05-not-showing-up-results

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!