简体   繁体   English

Jenkins输出控制台的安全性构建失败

[英]Jenkins security of Output console faild build

Iam using Jenkins for testing web services with maven (maven-soapui-plugin) problem: in console out put i have the password of web services !, how i can secure(hide) this users/password ?? 我使用詹金斯(Jenkins)测试带有Maven(Maven-Soapui-plugin)问题的Web服务:在控制台中输入我具有Web Service的密码!,如何保护(隐藏)该用户/密码? or can i limit the acess to console for anonymous people without limit their acess to project? 还是我可以限制为匿名人员提供控制台的访问权限,而不限制他们的项目访问权限?

The EnvInject Plugin has the option inject passwords at the start of a build. EnvInject插件在构建开始时具有选项“ inject password”。 With it you can refer to the passwords with environment variables, and it will also have the effect of hiding all occurences of the injected passwords on the console output. 使用它,您可以使用环境变量来引用密码,并且还可以隐藏所有出现在控制台输出中的已注入密码。

There is the Mask Password Plugin 面具密码插件

Which allows passwords to be defined in the Jenkins config, or in the job and then these passwords will be encrypted in the job XML and masked in the console log. 这允许在Jenkins配置或作业中定义密码,然后这些密码将在作业XML中加密并在控制台日志中屏蔽。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM