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

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
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.

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 

Suggest an answer

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

Bamboo Data Center - Early Access Program 2

We’re preparing for Bamboo 8.0, which will be our first Data Center release. To make sure our app vendors and customers with written in-house apps are prepared, we’re launching Bamboo 8.0 Early Acces...

69 views 0 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