There are a few plugins that handle the masking of passwords.

Take a look at 
https://wiki.jenkins-ci.org/display/JENKINS/Mask+Passwords+Plugin Iirc there is 
also another plugin.
-- 
Sent from my phone.
Please excuse my brevity and any auto correct issues.

On 17 March 2015 10:03:48 GMT+00:00, Maciej Jaros <[email protected]> wrote:
>2015-03-02 o 17:42, lfast:
>> Let me try again:
>> Script:
>> any_command -p $my_pwd
>>
>> Console Output:
>> any_command -p the_password_I_typed
>> error: any_command not found
>>
>> The password is still displayed.  Maybe I'm misunderstanding what you
>
>> mean by "just use the variable."  Is masking the use of $my_pwd not 
>> supported?
>
>Not sure about your exact command but adding `set +x` on top of
>"Execute 
>shell" should block most of what is displayed in the logs. AFAIK the 
>password variable is used as any other variable. There doesn't seem to 
>be any special behaviour around it.
>
>Regards,
>Nux.
>
>-- 
>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/5507FC04.5070302%40mol.com.pl.
>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/99D6E32F-743E-49D8-A2BE-E06606BAD6AA%40teilo.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to