更改Azure DevOps URL是否会影响Slack的Azure DevOps扩展? [英] Are the Azure DevOps extensions for Slack affected by changing the Azure DevOps url?

查看:87
本文介绍了更改Azure DevOps URL是否会影响Slack的Azure DevOps扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在公司,我们将Azure Devops工作区的URL从 https://oldname.visualstudio.com 更改为 https://dev.azure.com/newname .我们使用两种方法与Azure DevOps中的Slack建立了很多连接.通过服务挂钩在Azure Devops中,新链接是通过松弛应用程序 Azure Repos Azure管道.

At the company, we will change the URL for the Azure Devops workspace from https://oldname.visualstudio.com to https://dev.azure.com/newname. We have a lot of connections to Slack in Azure DevOps using two approaches. Older links via service hooks in Azure Devops, new links are via slack applications Azure Repos and Azure Pipelines.

Azure DevOps中的服务挂钩使用Slack的传入Webhooks,因此它们不会受到影响.但是,Microsoft更喜欢使用其Slack Azure Repos和Azure Pipelines扩展,并且它们的工作方式尚不清楚.例如.通过/azrepos subscription [https://oldname.visualstudio.com/projecturl] 在Slack中设置Azure Repos,此步骤自动将地址设置为 azdevchatops.azure.com 在Azure Devops Service挂钩设置中.

Service hooks in Azure DevOps use Slack's Incoming webhooks, so they will not be affected. However, Microsoft prefers to use its Slack Azure Repos and Azure Pipelines extensions, and the way they work is not clear. E.g. Azure Repos is set up in Slack via /azrepos subscribe [https://oldname.visualstudio.com/projecturl] and this step automatically set the address to azdevchatops.azure.com in Azure Devops Service hooks settings.

因此,看起来您需要在更改Azure DevOps URL之后重新配置Azure Repos和Azure Pipelines中的所有订阅.但这是一个假设.文档中没有提到它,这就是为什么我要问.我们有足够的连接,这意味着需要大量手动工作才能再次通过/azrepos订阅/azpipelines订阅配置Slack中的所有内容.有没有人有过将Azure Repos和Azure Pipelines用作Slack Apps的经验,一旦Azure DevOps工作区地址更改,所有内容都必须在Slack中重新配置?

So it looks like you need to reconfigure all subscriptions in Azure Repos and Azure Pipelines after changing the Azure DevOps URL. But that is a presumption. It is not mentioned in the documentation and that is why I ask. We have enough connections and that means a lot of manual work to configure everything in Slack via /azrepos subscriptions and /azpipelines subscriptions again. Does anyone have the experience that when using Azure Repos and Azure Pipelines as Slack Apps, everything has to be reconfigured in Slack as soon as the Azure DevOps workspace address changes?

推荐答案

通知集成是无缝的.当您更改Azure DevOps组织的名称(和URL)时,通知起作用.

Notification integration is seamless. Notifications work when you change the name (and URL) of Azure DevOps organisation.

我刚刚测试过,一切都很好.

I tested just now and everything is ok.

注意:还有另一个问题.在Azure Devops组织URL更改后,您需要再次将生成代理重新安装/注册到新URL.如果您在云中使用托管的Azure Pipelines,则需要在 Project Settings>代理商池>Azure管道>代理禁用 Hosted Agent 并在此处.否则,CI/CD管道将无法正常工作.

Note: there are another problem. After Azure Devops organisation URL change you need to reinstall/register build agents again to the new URL. If you use hosted Azure Pipelines in cloud, you need in Project Settings > Agent Pools > Azure Pipelines > Agents disable Hosted Agent and enabled again here. Otherwise, CI / CD pipelines do not work.

这篇关于更改Azure DevOps URL是否会影响Slack的Azure DevOps扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆