无论如何,是否有使用BASH脚本在Bitbucket中运行合并结果管道?
我想检查并验证合并到主是一个好的还是坏的,因此我想触发管道以在合并到主分支合并后检查合并请求。
- 则管道应在原子上
- 如果合并是好的,如果合并是好的,
- 如果合并不良, 触发。 [新的DevOps]任何其他解决方案都可能会受到赞赏!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过Bitbucket管道文档读取
当您合并时可以运行设定的管道。
,则管道应失败。您只需要采取步骤检查可能出了什么问题即可。如果有冲突,Bitbucket PR页面将在合并之前告诉您。
Read thru the Bitbucket pipeline documentation https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-bitbucket-pipelines/
It is possible to run a set pipeline when you do a merge.
Any pipeline can be made to fail, if the step's scripts are made so they can return an error code if they run into issues. You just need to make the steps to check what could have gone wrong. Bitbucket PR page will tell you before you merge if there are conflicts.