Alastair Pitts
Alastair Pitts

Reputation: 19601

TeamCity is replacing a specific phrase with asterisks

We've just started having issues with TeamCity replacing a certain text phrase (the company name) with asterisks throughout the build process (specifically when running Powershell steps.

Powershell build step

You can see here that we are pulling from github repo that contains the text, as well as a branch that contains the text and it's replacing it with *******.

Does anyone have any idea why this might be the case? It's causing builds to fail.

Running TC 2018.1.1

Upvotes: 0

Views: 442

Answers (1)

Senior Pomidor
Senior Pomidor

Reputation: 1915

That happens because the TeamCity want to protect your password in the build log.

As said @daggett, when you have a password parameter with the value which matches the company name then TC will replace it with asterisks

Upvotes: 1

Related Questions