Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invoking bamboo plan remotely

Tags:

bamboo

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,.

like image 783
More Than Five Avatar asked Sep 07 '13 15:09

More Than Five


People also ask

How do you trigger a Bamboo build?

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.

How do I know if my Bamboo agent is running?

> 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.


1 Answers

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

like image 178
kaizenCoder Avatar answered Oct 20 '22 07:10

kaizenCoder