how to resolve "password parameter" in a script

Hi,

 

I am trying to retrieve the value I stored in configuration parameter as password, but when I echo them in custom script step, I get "*****"

I understand that it should show ***** in the build configuration page but I would think I should also be able to get the content.

What I am trying to accomplish here is to use "file content replacer" to replace a place holder variable in a build scritp with this password parameter .

I am not sure if it can be done?

 

Thanks

Jay

 

0
1 comment

Hi Jay,

 

you aren't really getting "****", but TeamCity replaces the passwords in the build logs and other instances where they would be displayed to prevent access to them by possibly unauthorized people.

 

The File content replacer should be able to replace the content of the placeholder for your password just fine.

0

Please sign in to leave a comment.