在 azure 中从单独的项目添加管道触发器
Adding pipeline trigger from separate project in azure
我在 Azure 中有两个项目,需要从另一个项目中的管道触发管道。我从市场安装了扩展 'triggers azure devops pipeline'。
请帮我在 yaml 文件中配置这个扩展
[请看我的yaml文件和扩展的截图]:https://i.stack.imgur.com/RGOJ4.png
'triggers azure devops pipeline' 扩展的 azure devops 服务连接下拉列表未显示任何值
根据您的屏幕截图,您似乎还没有创建 Azure Devops API
服务连接。
您可以导航至 Project Settings -> Service connections
并创建 Azure Devops API
服务连接。
注意:个人访问令牌需要以下权限:
1.Triggering一个版本:发布-读、写&执行-构建读&执行
2.Triggering 构建:构建读取并执行
然后就可以在目标任务中获取Azure Devops Service Connection
更多信息,您可以参考the introduction of the extension。
希望对您有所帮助。
我在 Azure 中有两个项目,需要从另一个项目中的管道触发管道。我从市场安装了扩展 'triggers azure devops pipeline'。 请帮我在 yaml 文件中配置这个扩展 [请看我的yaml文件和扩展的截图]:https://i.stack.imgur.com/RGOJ4.png
'triggers azure devops pipeline' 扩展的 azure devops 服务连接下拉列表未显示任何值
根据您的屏幕截图,您似乎还没有创建 Azure Devops API
服务连接。
您可以导航至 Project Settings -> Service connections
并创建 Azure Devops API
服务连接。
注意:个人访问令牌需要以下权限:
1.Triggering一个版本:发布-读、写&执行-构建读&执行
2.Triggering 构建:构建读取并执行
然后就可以在目标任务中获取Azure Devops Service Connection
更多信息,您可以参考the introduction of the extension。
希望对您有所帮助。