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

Trigger downstream builds

    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

      I'm currently surveying Pipelines in order to see if our current Jenkins-based setup can be ported. It seems promising but I've searched for one key feature with no luck:

      My setup is as follows: a "core" package is built from branch develop on changes. Build includes testing + deploy to Artifactory. Furthermore, I have a bunch of components (submodules.) These too are continuously built from branches develop. Both "core" and components belong to the same team.

      What I'm looking for is some way to manually trigger a Pipelines build for branches develop on all components when develop on "core" is successfully built and deployed. A workaround would be to push a change to a dummy file on each component but that seems a bit of a hack to me.

      Is there anything I have missed in the documentation? What I would like is something like the following in "core":

      #!yaml
      
      pipelines: 
        branches: 
          develop: 
            - step: 
                script: 
                  - ant -f build.xml my_ant_target_to_build_and_deploy
                downstream:
                  - component1:develop
                  - component2:develop
                  - …
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            c717bdfc7252 Jens Gram
            Votes:
            43 Vote for this issue
            Watchers:
            55 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: