[JIRA] (JENKINS-59573) Non-stored password parameter not working in freestyle project

1 view
Skip to first unread message

vladaurosh@gmail.com (JIRA)

unread,
Sep 28, 2019, 10:31:02 AM9/28/19
to jenkinsc...@googlegroups.com
Vlad Uros created an issue
 
Jenkins / Bug JENKINS-59573
Non-stored password parameter not working in freestyle project
Issue Type: Bug Bug
Assignee: Unassigned
Components: mask-passwords-plugin
Created: 2019-09-28 14:30
Environment: Jenkins 2.164.1
Jenkins 2.190.1
Mask Passwords Plugin 2.12.0
Labels: mask-passwords
Priority: Major Major
Reporter: Vlad Uros

Hello everyone.

I just created freestyle project that should execute shell (bash) and use Non-stored password parameter. But Non-stored password parameter value is complete ignored.

I added regular Password parameter just for testing. I got this with masking passwords.
Running as SYSTEM
Building in workspace /root/.jenkins/workspace/test
[test] $ /bin/bash /opt/tomcat/temp/jenkins3125009081352009458.sh
pass1 is ********
pass2 is
Finished: SUCCESS
Without masking I got this.
Running as SYSTEM
Building in workspace /root/.jenkins/workspace/test
[test] $ /bin/bash /opt/tomcat/temp/jenkins3721571884155122083.sh
pass1 is test123
pass2 is
Finished: SUCCESS
 

Script is :

#!/bin/bash

echo pass1 is ${Password}
echo pass2 is ${Password2}

exit 0

 

'Password' is Password Parameter and Password2 is Non-stored Password Parameter.

 

I have some pipeline on same jenkins using mask passwords plugin and it works correctly there.

 

Any help would be appreciated.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

santustats26@gmail.com (JIRA)

unread,
Apr 22, 2020, 4:35:03 PM4/22/20
to jenkinsc...@googlegroups.com
santhosh voodem commented on Bug JENKINS-59573
 
Re: Non-stored password parameter not working in freestyle project

could you please let me know if this issue got resolved. I am facing same issue for both kind of password parameters

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages