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

bamboo git repo revision number

lance_lyons
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 Leaders.
June 15, 2015

Hi,   We used to use SVN and pulled the revision number by using the bamboo variable bamboo.custom.svn.revision.number.


We are now on github and would like to use the git equivalent.

 

I have tried  ${Bamboo.planRepository.revision} but this does not work and nothing is substituted in. 

Any ideas how to captuer the repo revision in git?

 

Thanks in advance.

 

 

1 answer

1 accepted

1 vote
Answer accepted
lance_lyons
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 Leaders.
June 15, 2015

I just figure out changing the

 

${Bamboo.planRepository.revision}    to   ${bamboo.planRepository.revision}

 

worked.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events