How can we pass authentication details (username/password) of multiple environments while running builds in Teamcity

Viewed 18

I have created a parameter to select the environment while running a build by using run custom build dialog box. I need to pass details for every environment like Username and password so that it the build uses them as authentication while hitting the environment server.

I have tried using the Run custom build dialog box, but could not find the exact way. Could anyone help me on this.

1 Answers

I'm not 100% sure if this approach would work on your end or not, but you can add your user name and password to a json file (encrypted format) and read these values at the time of execution.

Related