On Tue, May 21, 2019 at 5:24 AM Tim Jaacks <timjaa...@gmail.com> wrote:
> 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 > jenk...@myserver.de/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? > The only solution that I am aware of is to not use the plugin that masks usernames and passwords. If you use the Jenkins credentials plugin and provide all your credentials through the credentials plugin, you generally should not need to mask references to usernames and generally won't show passwords in the log files (or elsewhere). > -- > 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 jenkinsci-users+unsubscr...@googlegroups.com. > 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. > -- Thanks! Mark Waite -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFDvenvJ16ZE15XBkLRnxzL%2BkYmekdsFzMpgy4s%2BjErwg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.