-
Type:
Suggestion
-
Resolution: Timed out
-
None
-
Component/s: Deployments, Triggers
-
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 | |
| PROJ-PLAN-JOB1-20 | 2017-06-17 |
- 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 | |
| PROJ-PLAN-JOB1-20 | 2017-06-17 | |
| PROJ-PLAN-JOB1-20 | 2017-06-18 |
- 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.