Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to run a bamboo plan using bamboo java specs

Bharath November 15, 2018

I have been trying to use bamboo java specs to run a bamboo plan, but I'm just able to create the plan not run it.

1 answer

1 accepted

0 votes
Answer accepted
Chris Berry
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 22, 2018

Hey Bharath,

Yes, Bamboo Specs are for defining the Bamboo plan. To run the plan you can use the REST API. Find the documentation at the following link. Bamboo REST API

A Curl example to run the Plan $PROJECT_NAME-$PLAN_NAME would be.. as follows.

curl --user $BAMBOO_USER:$BAMBOO_PASS -X POST http://mybamboohost:8085/rest/api/latest/queue/$PROJECT_NAME-$PLAN_NAME

Let us know if this helps or if you have further questions.

thanks

Chris

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events