如何从jenkins shell输出中隐藏密码 [英] How to hide password from jenkins shell output
本文介绍了如何从jenkins shell输出中隐藏密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在文件系统上有两个脚本,第二个是jenkins作业. 第二个脚本调用第一个并传递参数. 参数包含密码参数. 如何将密码隐藏到日志中? 我试图通过使用exec命令隐藏输出,但问题没有解决.
I have two scripts first on file system,second into jenkins job. Second script calling the first and passed parameters into it. Parameters contains password parameter. How can I hide password into logs? I have tried to hide output by using exec command but problem wasn't solved.
推荐答案
Mas Passwords插件就是这样做.
这篇关于如何从jenkins shell输出中隐藏密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文