The username being part of the credentials, I believe it being masked like
the password is a correct behavior.

If you'd like it to behave differently, I think you want to use something
else then a credz type. But don't tell anyone I'm telling you to put your
username as a string parameter, I'm not, don't do it :).

I would recommend backpedaling and think about what you're trying to
achieve. If you really need something like this, create a dedicated report
or so IMO.

My 2 cents

Le mar. 21 mai 2019 à 13:23, Tim Jaacks <[email protected]> a écrit :

> While this makes sense for actual occurrences (i.e. where the asterisk'ed
> text REALLY is my user name), it is quite counterproductive in situations
> where the user name accidentally matches some other strings in the log.
>
> For example, my user name I use in the credentials is "jenkins" (oh yeah,
> creative). Everywhere this name is used (e.g. in URLs like
> [email protected]/somepath) it is correctly masked (showing ****@
> myserver.de/somepath).
> However, I have a script called "jenkins_patches.sh" which is called
> during the build. This gets logged as "****_patches.sh", which is quite
> ridicoulous, because the credentials are not actually used here.
> Furthermore, my Jenkins instance is hosted under some URL like "
> http://mycompanyintranet/jenkins";, resulting in "
> http://mycompanyintranet/****";, which makes all URLs in my build log
> unusable. This is quite annoying.
>
> Is there a solution to change this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/dc508f41-cd5b-449b-a0d4-11d9aa5c2668%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/dc508f41-cd5b-449b-a0d4-11d9aa5c2668%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5xREpcJ6H6H59OKLyfJ1ayyKK4uH2Fz3mcVsse7%3D1TqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to