Using Crowd user/pw in a Bamboo variable

At the moment, whenever we release using Bamboo, we have to overwrite a couple of variables so that the maven tasks can communicate with SVN. These variables: -Dusername=${bamboo.user} -Dpassword=${bamboo.password} are always the same as the user currently logged into Bamboo. Can I somehow use the Bamboo credintials to automatically fill in those variables, without running a customized build?

4 answers

1 accepted

0 votes
Accepted answer

To avoid this, can't you simply use SSH keys instead of username/passwords?

 

We are using the username to track who changes/releases. But I will look into it, maybe we can use another technique to track it.

The use SSH keys, and only push the name for tracking releases, maybe?

 

0 votes

It is not possible. All builds are run outside user context. Think about case when release is being run automatically. 

Last but not least Bamboo doesn't know user's password. 

Thanks for the tips and info.

 

We've decided to go with a bamboo-svn user to do the builds. Tracebillity will be contained to Bamboo, not SVN as well.

 

How to in this link

http://mjremijan.blogspot.nl/2015/06/bamboo-maven-release-plugin-and.html

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

260 views 4 1
Join discussion

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