小编Ger*_*gue的帖子

Bitbucket管道 - 具有相同步骤的多个分支

是否可以在bitbucket管道中组合多个具有相同步骤的分支?

例如:我工作的团队使用两个名称之一作为他们的评论分支,"rev"或"staging".无论哪种方式,都使用相同的步骤发布到我们的审查服务器.现在,分支被单独调出.

pipelines:
     branches:
          rev:
               steps:
                    - echo 'step'
          staging:
               steps:
                    - echo 'step'
Run Code Online (Sandbox Code Playgroud)

但它可能是这样的

pipelines:
     branches:
          rev|staging:
               steps:
                    - echo 'step'
Run Code Online (Sandbox Code Playgroud)

git yaml bitbucket bitbucket-pipelines

21
推荐指数
3
解决办法
8254
查看次数

标签 统计

bitbucket ×1

bitbucket-pipelines ×1

git ×1

yaml ×1