Invoking bamboo plan remotely
Asked Answered
O

2

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

Oops answered 7/9, 2013 at 15:13 Comment(0)
U
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

Unbearable answered 15/10, 2014 at 9:13 Comment(1)
How do I do the above with the requests package? I don't know how to specify both sets of data.Fornix
S
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

Salvador answered 9/9, 2013 at 12:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.