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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 12 hours ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

59 views 3 4
View question

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