I know it is possible to take down a bamboo artifact remotely, I was wondering is it possible to take start a bamboo from a remote box by sending an appropriate HTTP request?
Thanks,.
To configure Bamboo to trigger a build on code check-in:From the Bamboo dashboard select Builds > All build plans. Locate the plan in the list and select the edit icon ( ) to display the plan's configuration pages. Select the Triggers tab, then Add trigger. Select Remote trigger.
> Build resources > Agents. This will display the Agents screen, showing lists of all local agents and all remote agents that currently exist in your Bamboo system.
Here is an example:
curl --user un:pwd -X POST -d "stage&executeAllStages" -d "bamboo.variable.TEST=WORKS" http://10.0.0.0/rest/api/latest/queue/CAP-BR.json
As you can see I am also passing an optional value to Bamboo bamboo.variable.TEST=WORKS
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With