Maintenance Operations
APIs to start and finish remote automation task that takes agents offline safely and ensures build farm capacity set in Admin Configuration
Security Note
All operations on this page require valid Access Tokens see Access Token Operations for more information on creating tokens.
Request Start / Creation of Maintenance Task CHANGE
Attempts to create a maintenance task which results in the agent being disabled, and a task in progress.
POST /rest/agents/1.0/{AGENT_ID}/maintenance?uuid={tokenId}
Report Task Completion / Success CHANGE
Notifies that the agent previously marked for maintenance is ready to again receive jobs. Can be used to register replacement agents as well, only former task ID is needed.
PUT /rest/agents/1.0/{AGENT_ID}/maintenance/{TASK_ID}/finish?uuid={tokenId}
Poll Target Version READ
Stateless operation to poll the latest version that Bamboo Master is configured with. (Use in conjunction with Version Update Task for fully automated updates of bamboo agents from bamboo!)