Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
2
-
1
-
Description
Bamboo has two endpoint to place Bamboo in maintenance mode:
- http://myhost.com:8085/rest/api/latest/server/pause [POST]
- While running PAUSE, Bamboo will wait for builds to complete (InProgress state) before placing Bamboo into PAUSED state
- Builds are prevented from being queued
- Bamboo can be resumed http://myhost.com:8085/rest/api/latest/server/resume [POST]
- http://myhost.com:8085/rest/api/latest/server/prepareForRestart [PUT]
- Prepare server for restarting: suspend change detection, stop indexing, stop ec2 instance ordering
- Builds that were Queued will change status to NotBuilt upon Bamboo's restart
- Builds that were InProgress will change status to NotBuilt upon Bamboo's restart
- Builds are prevented from being queued
- Bamboo must be restarted, it cannot be resumed
Regardless the chosen endpoint, Bamboo should allow builds to continue on being queue instead of allowing it only after resume or restart.