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
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

496 views 0 9
Read article

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