Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,863
Community Members
 
Community Events
165
Community Groups

How can I setup passwords for selenium tests on bamboo?

Hi, I have selenium tests andI am using serenity. All passwords for db and website login are saved in the file serenity.conf. I want to remove passwords from this file and setup password on bamboo. How can I setup it and access from my testscript? 

2 answers

0 votes

You can keep them at Bamboo plan variables and then put them to serenity.conf file with a command 

echo ${bamboo.my.password} >> serenity.conf 
0 votes
Charlie Misonne Community Leader Jun 30, 2021

You can use variables in Bamboo. Variables exist at several levels (global, build, project). See Bamboo variables.

If you include "password" in the name of the variable the value will  be encrypted in Bamboo's database.
Unfrotunately varibales do not come with permissions so be careful at what level you define the variable if you don't want any Bamboo user to use it.

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

914 views 3 8
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