So I'm starting a Xamarin IOS build on bitrise on every pull request made to my branch, but I want to be able to get status on that build and display it in Visual Studio Team Services.
How do I do that ? Is it even possible?
So I'm starting a Xamarin IOS build on bitrise on every pull request made to my branch, but I want to be able to get status on that build and display it in Visual Studio Team Services.
How do I do that ? Is it even possible?
如果您在 bitrise 上构建的项目位于 VSTS git repo 上,您可以在拉取请求时使用web hook触发 bitrise 构建,并在 VSTS 上查看构建结果。详细步骤如下:
1.获取webhook URL
Bitrise 应用页面 -> 代码选项卡 -> 为 webhook 选择 Visual Studio Online -> 复制 webhook URL。
2.在VSTS中添加web hook
在 VSTS 团队项目 -> 服务挂钩选项卡 -> 创建新订阅 -> 选择 web Hooks -> 下一步 -> 选择 为此类事件创建的拉取请求-> 指定 repo 和目标分支 -> 下一步 -> 粘贴 webhook URL作为 URL -> 测试 -> 确保它可以工作 -> 完成。
3.查看bitrise构建结果
在 VSTS Service Hooks 页面,您可以直接查看构建状态。
要查看详细信息,您可以查看历史记录。