Is there a way to get the revision number of the previous successful build? bamboo.planRepository.previousRevision gives me the revision for the previous bamboo build even if that build failed

This question is in reference to Atlassian Documentation: Bamboo variables

Ask your question here...

2 answers

Being able to determine what the revision number of the previous successful bamboo build is key to being able to produce a report of what changed between the previous successful build that testers were using and the new build being produced

If there is no bamboo variable that holds the revision number of the previous successful build, then is there a way (from bash script) to write to an environment variable that gets stored within bamboo where my build script could write the current revision number when the build script determines that the build was successful? This environment variable would need to be made available for a future bamboo build so that the build script could use the content of that environment variable as the "previous successful revision"

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

169 views 3 5
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