[JIRA] (JENKINS-59214) BlueOcean output does not honor MaskedPassword Plugin

8 views
Skip to first unread message

o.v.nenashev@gmail.com (JIRA)

unread,
Sep 3, 2019, 7:00:02 PM9/3/19
to jenkinsc...@googlegroups.com
Oleg Nenashev moved an issue
 
Jenkins / Bug JENKINS-59214
BlueOcean output does not honor MaskedPassword Plugin
Change By: Oleg Nenashev
Project: Infrastructure Jenkins
Key: INFRA JENKINS - 2246 59214
Workflow: classic default workflow JNJira + In-Review
Component/s: blueocean-plugin
Component/s: core
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jenkins@gavinmogan.com (JIRA)

unread,
Sep 18, 2019, 3:42:02 PM9/18/19
to jenkinsc...@googlegroups.com
Gavin Mogan updated an issue
Change By: Gavin Mogan
Component/s: mask-passwords-plugin
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

vmeghani@salesforce.com (JIRA)

unread,
Oct 4, 2019, 7:06:02 AM10/4/19
to jenkinsc...@googlegroups.com
Vishal Meghani updated an issue
Change By: Vishal Meghani
Attachment: Screen Shot 2019-10-04 at 4.35.13 PM.png

vmeghani@salesforce.com (JIRA)

unread,
Oct 4, 2019, 7:07:02 AM10/4/19
to jenkinsc...@googlegroups.com
Vishal Meghani commented on Bug JENKINS-59214
 
Re: BlueOcean output does not honor MaskedPassword Plugin

Seeing strange behavior

if I use below echo then password is not printed in top level step 

wrap([$class: 'MaskPasswordsBuildWrapper', varPasswordPairs: [[password: pwd, var: user]]]) {
this.sh(script: "echo pwd is : ${pwd} and uesr : ${user} abc0-myrepo2-0-prd.site.my.net").toString().trim()
}

but if i remove abc0-myrepo2-0-prd.site.my.net then header shows the pwd.

wrap([$class: 'MaskPasswordsBuildWrapper', varPasswordPairs: [[password: pwd, var: user]]]) {
this.sh(script: "echo pwd is : ${pwd} and user : ${user} ").toString().trim()
}

Adding here for reference to whoever is working on fixing this. Thanks.

 

Reply all
Reply to author
Forward
0 new messages