How to prompt the user manually when starting the assembly in Team City?

Say you are doing an automatic deployment script in TeamCity. The script uses SSH to connect to the prod environment. I do not trust the build server and do not want to store credentials in the build-script file. How can I get TeamCity to give me a username and password to send to the SSH command when I build for the first time?

+7
source share
1 answer

You need to configure a custom build option and use the Run Custom Assembly Run dialog box when starting the assembly. Or you can also use the "Promotion" command to build.

Learn more about deployment configuration and custom build launch with options .

+3
source

All Articles