The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy from Command Line Through Bamboo

Matt Clarkson
Contributor
November 15, 2012

We have a python build environment. I would like to be able to perform the following

waf deploy --version=1.3.0

I have already integrated with the Atlassian RESTful API. I am wondering what APIs would be of interest to me.

I would basically like the following to happen:

waf deploy --version=1.3.0
 - check 1.3.0 is a valid version in JIRA
 - release 1.3.0 pending a Bamboo build for the project
 - wait until the Bamboo build completes
 - report the success of failure of the release

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 15, 2012

Atlassian Command Line Interface has actions for this - getVersion and queueBuild (with a wait option):

  1. jira --action getVersion --project xxx --version 1.3.0
  2. bamboo --action queueBuild --build "XXX-DEF" --wait

Matt Clarkson
Contributor
November 18, 2012

Or has that gone private now, you're running up a business?

Matt Clarkson
Contributor
November 18, 2012

Brilliant. Thanks Bob. Do you have the link to the CLI repo on bitbucket?

Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 18, 2012

Yes, on bitbucket, but private now ;).

Matt Clarkson
Contributor
November 18, 2012

Makes sense. Good luck with the new company!!

TAGS
AUG Leaders

Atlassian Community Events