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

REST API: How to deploy a build

comodmw August 6, 2017

How can i deploy

  • "Create new release from build result"
  • "Promote existing release to this environment"

...via REST API?

-----

Im Using https://github.com/sebarmeli/bamboo-api (bamboo-api "framework" in nodejs) - unfortunatelly there are no functions implemented for deploayment...

In other posts ive seen that there are some steps needed to be done in advance. one of them was 

/rest/api/deploy/projectVersioning/"+lastBuildResultKey+"/nextVersion.json

 

but everthing i try fails.

 

is there maybe another js or php framework available for bamboo!?

 

1 answer

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 9, 2017

Hi Michael,

Have you seen the Bamboo REST API documentation?  There is a link to the following call and a description of it's use:

/deploy/project/{deploymentProjectId}/version

I would try that and see if that works for you.

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events