Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Does bamboo stores copy of scripts? Script History?

I made multiple improvements and changes to the deployment power-shell script.

If I wanted to see what changes I made, or if I break the script I would like to have a place to see the history of the scripts created/updated in bamboo for a deployment?

3 answers

1 accepted

1 vote
Answer accepted

There's another way to keep script code in repo and don't use Bamboo Specs.

Just checkout repo with script as part of your build/deployment and then script task call it from file. This way your team don't forget to modify script code as it will be stored at single place

I ended up using this approach, it was a bit annoying that had to pass all the bamboo variables that I needed via Environment Variables

Hi Alberto,

this isn't exact answer for your question but take a look to Bamboo specs here https://confluence.atlassian.com/bamboo/bamboo-specs-894743906.html. It's a way how to configure your Bamboo builds as a code so you can have it as part of your app in source control.

Greetings,

M.

Thanks for the quick responses (To everyone), I created a ticket to review this alternative in a few weeks.

I didn't see a way, so I'm storing a copy of the scripts in source control. But I fear that me or other team members will forget to update the source control files.

Jimmy Seddon Community Leader Oct 29, 2019

Hi @Alberto Pineda,

As @Milos Zikmund (MoroSystems) has mentioned if you enable repository scanned Bamboo Specs.  More information here: https://confluence.atlassian.com/bamboo/enabling-repository-stored-bamboo-specs-938641941.html

That will force you to use the version stored in source control to make changes so you will never have to worry about forgetting to update source control, it also gives you a 100% versioned copy of your configuration so you know what has been changed.

I hope that helps!

-Jimmy

Suggest an answer

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

213 views 0 4
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