REST API: How to deploy a build

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

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
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

204 views 6 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you