是否可以在 bitbucket 管道中组合具有相同步骤的多个分支?
例如:我工作的团队使用两个名称之一作为他们的审查分支,“rev”或“staging”。无论哪种方式,都使用相同的步骤发布到我们的评论服务器。现在分支被单独调用。
pipelines:
branches:
rev:
steps:
- echo 'step'
staging:
steps:
- echo 'step'
但它可能是这样的
pipelines:
branches:
rev|staging:
steps:
- echo 'step'