7

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

More Than Five
  • 9,959
  • 21
  • 77
  • 127

2 Answers2

4

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

kaizenCoder
  • 2,211
  • 6
  • 33
  • 64
  • How do I do the above with the `requests` package? I don't know how to specify both sets of data. – Nick Sep 21 '16 at 00:39
0

If I understood your question right, then what you want to do is to trigger a build via the rest api of bamboo.

This could offer you some help: https://answers.atlassian.com/questions/65517/trigger-bamboo-plan-via-rest-call

max_
  • 324
  • 1
  • 7