Deployment scheduled trigger run based on successful build from current day

XMLWordPrintable

    • 0
    • 1

      Summary

      • Currently, Bamboo run schedule deployment taking the latest success build as its source plan.
      • Required running the latest successful build from current day

      Scenario

      Scenario A

      Lets assume the following scenario:

      buildResult completedDate buildStatus
      PROJ-PLAN-JOB1-19 2017-06-17 Success
      PROJ-PLAN-JOB1-20 2017-06-17 Failure
      • Today's date is 2017-06-17 and it is 4:59 PM, almost time for our scheduled deployment trigger to run.
      • then it is 5 PM and schedule deployment gets triggered
      • Bamboo will use the latest Successful build (e.g. PROJ-PLAN-JOB1-19) as source for the deployment.

      Scenario B

      Lets assume the following scenario (based on above):

      buildResult completedDate buildStatus
      PROJ-PLAN-JOB1-19 2017-06-17 Success
      PROJ-PLAN-JOB1-20 2017-06-17 Failure
      PROJ-PLAN-JOB1-20 2017-06-18 Failure
      • Today's date is 2017-06-18 and it is 4:59 PM, almost time for our scheduled deployment trigger to run.
      • then it is 5 PM

      Bamboo should not trigger the deployment since there is/are no Success build(s) on current day. However, Bamboo will continue on using the latest Successful build (e.g. PROJ-PLAN-JOB1-19) as source for the deployment, even though that build is not from current day.

      Suggestion

      Adding a triggering option to run a Scheduled deployment if successful build is from current day.

            Assignee:
            Unassigned
            Reporter:
            Rafael Sperafico (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: