Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Versioning of stages

Hi,

is it possible to version stages in Bamboo? We adjust our stages and jobs contionously and if I would like to build a project from a year ago I would like to use the stage that was active at that point in time and not the current active one.

Any ideas?

 

Thanks!

2 answers

2 votes

You might want to have a look at Bamboo Specs, which provide configuration as code for your build and deployment projects, thereby enabling you to commit your stages and jobs to version control alongside your source code. There are two approaches conceptually:

  1. Store your Specs in a separate repository and execute them on demand - this is usually used for managing administrative cross-project concerns etc.
  2. Store your Specs together with you code, aka repository-stored specs (RSS) - this allows you to keep your project configuration together with the code and automatically publish any code changes [...] and makes it easy to revert to a particular moment in time

Your use case seems to primarily suggest the latter approach, though as usual, how you implement your particular requirements depends on the specifics of your scenario.

Please note that there are two variations, and at this point Bamboo Specs (Java) is considerably more feature complete than Bamboo Specs (YAML) (this conceptual gap seems to be about to be narrowed in a near future release though).

Thanks a lot! That's exactly what I was looking for. At the same time, our source control system is Perforce. Does that mean I can't use this feature or does it just mean I have to use one of the supported systems along with my actual repository?

Starting from version 6.5, you will be able to use Bamboo Specs Java and YAML with the following repositories: 

  • Bitbucket Cloud
  • Git
  • GitHub

You can always use Bamboo Specs standalone with one of the supported systems as per option 1, but this indeed sounds like you may be unable to use option 2 at this point (repository-stored specs), because it requires a supported repository type for the fluent integration.

That being said, Perforce seems to have a Git facade, so you may be able to use that if your Perforce configuration provides this feature. I'm neither familiar with Perforce nor the inner workings of the Bamboo Specs integration though, thus cannot properly judge this in any way.

Like Sebastian_R likes this

That helped me a lot. Thanks for your insights!

1 vote

Hi Sebastian,

I opened a suggestion ticket based on this request, please find it below:

Thank you.

best,
Gabriel Ribeiro

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

223 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you