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

Automatic Retry for Bamboo

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Builds
    • None
    • 7
    • 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

      Problem Definition

      Currently, there is no feature in bamboo to perform automatic retry of failed incomplete builds/jobs or rerun the entire build automatically.

      Suggested Solution

      Introduce a feature to schedule the automatic restart of failed or incomplete jobs. If a plan continues to fail, even after multiple retries of failed or incomplete jobs multiple times, the feature can schedule a complete rerun of the entire build.
      Also, has the option to set a number of tries to trigger the failed or incomplete builds/jobs.

      Workaround

      Currently, this can be implemented by utilizing the scripting/coding.
      For example:

      Using REST Call for checking build status:

      curl --user <user-name>:<password> -X GET http://robhit-proxy.com/rest/api/latest/result/ATP-ATA/latest
      
      # Here "ATP-ATA" is the key of the plan
      

      Then using REST Call to trigger a build:

      curl --user <user-name>:<password> -X PUT http://robhit-proxy.com/rest/api/latest/queue/ATP-ATA-buildNumber
      
      # Here "ATP-ATA" is the key of the plan
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rsaxena@atlassian.com Robhit Saxena (Inactive)
              Votes:
              80 Vote for this issue
              Watchers:
              44 Start watching this issue

              Dates

                Created:
                Updated: