How to save global information in TeamCity server

As part of internal security requirement, we need to change build admin's password every month.
We use teamcity with the build admin credential to setup and manage QA environments using SSH/SCP plugins. It's very painful to update the build admin password for every job using GUI.
is there any way to save the build admin password (in encrypted form) in global configuration and it can be used by the TC jobs / plugins ?


Thanks ..
Rajan.

5 comments
Comment actions Permalink

Hi Rajan,

You can create a typed parameter on Root project level, type password. So this parameter will be inherited in all the build configuration. You can refence this parameter in configuraton settings like this: %parameter.name%.

Please find more info here: https://confluence.jetbrains.com/display/TCD9/Configuring+Build+Parameters,  

0
Comment actions Permalink

Hi Alina
is it possible to define the global parameter which can refered in multiple projects ? we use the build admin user in multiple projects.

Also "SSH EXEC" plugin does not accept the config parameters defined like %%.

0
Comment actions Permalink

If you define parameter on the Root project level, then it will be available in all subprojects.
What plugin are you speaking about? Could you please provide a link?

0
Comment actions Permalink

We are using Teamcity v7.1.5
I am not able to find the 'parameter' at Root project level. is it part of newer version ?

we are using Deployer plugin.
https://confluence.jetbrains.com/display/TW/Deployer+plugin

0
Comment actions Permalink

Project Hierarchy was released in 8.0 version. 7.1.5 is outdated version, please consider an upgrade to the latest TeamCity version (9.0.5 as of now) to get access to all the recent bug fixes and lots of new features.
Also there were some related bug fixes in Deployer plugin. Please upgrade it as well.

0

Please sign in to leave a comment.