Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using Crowd user/pw in a Bamboo variable

Jasper Bos February 22, 2017

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
Answer accepted
Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2017

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

 

0 votes
Jasper Bos February 24, 2017

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

0 votes
Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 23, 2017

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. 

0 votes
Jasper Bos February 22, 2017

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.

Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2017

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

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events