Setting environment variable as hidden when declaring it in build step

Hi,

I'm currently setting an environment variable in one build step and using it in another build step using this :

echo "##teamcity[setParameter name='env.SOME_VAR' value='$some_var']"

Was wondering if I can set this environment variable as hidden in case I don't want it to show in the logs, like in regular environment variables configured manually?

Thanks.

1 comment
Comment actions Permalink

It is not currently possible to add or change a password-type parameter via service messages. We do have a feature request that may be of interest to you here: https://youtrack.jetbrains.com/issue/TW-59165. If this is something you'd like to see implemented, please consider leaving a comment with your use-case on the YouTrack issue and voting. The comments there will be seen directly by our developers and, by voting, you will automatically be notified of any updates to this request. We use our YouTrack site to determine which features are included in future releases, so your input is appreciated.

0

Please sign in to leave a comment.