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

Allow Jobs to have a fixed order in a Stage

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • Builds, Stages
    • 0
    • 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.

    Description

      Currently, the order presented on the UI for Jobs inside Stages is not respected by Bamboo. Since Jobs run in parallel, as soon as an Agent with the necessary capabilities is made available, the Job (independently from its order in the list) is run.

      However there are situations when it would be good to be able to fix an order to the Job run.

      Example: Build Speed
      Job A takes 30 minutes; Job B takes 60 minutes.

      If Job A starts, and then 20 minutes later an Agent becomes available and Job B starts, the total run time of the Stage would be 80 minutes (wait time plus the longer running second Job)

      If the 60 minute Job started with the first available Agent and still the 20 minute wait time for the second Agent happens, the total run time of the stage would be 60 minutes (even with the 20 min delay, Job A would still finish before Job B).

      By running the slowest Job first will allow the Stage to "attempt" to run its Jobs in the shorter time frame possible.

      So, by allowing Users to define an order for the Jobs would allow them to try to adapt their Stages to run faster.

      PLUS: maybe, Bamboo could detect how long a build takes (after the first time it is run) and then automatically arrange the Jobs' order so that they can run in the shortest time frame possible. This would be amazing

      Attachments

        Activity

          People

            Unassigned Unassigned
            rbattaglin Renan Battaglin
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: