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?
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.
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
It looks like you're new here. Sign in or register to get started.