Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-20648

Conditional pipeline fails when multiple commits are pushed together

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Condition block in bitbucket-pipelines.yml only considers the last commit for non-pull request sections as described in Configure-bitbucket-pipelinesyml (check condition section)

      Therefore, pushing multiple commits together with the 'condition' block in a place totally breaks the flow as necessary steps do not run.

      The existing 'condition' property in bitbucket-pipelines.yml can be improved to consider all the commits that belong to a push even for a non pull-request section.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ssingh4 Saurabh Singh
            Votes:
            34 Vote for this issue
            Watchers:
            26 Start watching this issue

            Dates

              Created:
              Updated: