Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21311

Conditionally run jobs for plans

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Bamboo Specs
    • None
    • 1
    • 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.

      Hello,

      Our number of CI plans and Jobs is heavily increasing, so I am thinking about a solution how to save build time.

      We have multiple CI Jobs, which run for any pull request. E.g. we have in a repository 7 subprojects which are closely related to each other [any change may affect any of the 7 subprojects] (each subproject is represented as one Bamboo plan). Each plan is build release/debug for 7 platforms = 14 jobs. This means, that all in all 98 jobs must run. 

      We could manage all jobs of a plan in stages, which would help to decrease the number of started jobs in case of early failures. But by this the build time will increasy very much (since no jobs are running in parallel anymore).

      I would welcome a feature of Bamboo, that we can enable some jobs of a plan only if the  same job is failing for the target branch of the pull-request (e.g. develop).

      By this we would be able to have a clean develop branch (almost) all the time: After a breaking change the next PR must fix it - since the job is activated for all subsequent pull requests. Otherwise the build fails (and the merge is blocked until the job is passing).

       

      Best Regards,

      Thorsten

              Unassigned Unassigned
              8345aee9f6f8 Thorsten Klein
              Votes:
              6 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: