简体   繁体   English

限制访问Jenkins Web仪表板

[英]Limit access to Jenkins web dashboard

At the moment I'm running Jenkins on my Mac Mini and everybody in my local network can access the web dashboard at the address http://<JenkisIP>:8080 . 目前我在Mac Mini上运行Jenkins,本地网络中的每个人都可以访问地址http://<JenkisIP>:8080的Web仪表板。 How can I setup username and password credentials to limit the access to it? 如何设置用户名和密码凭据以限制对其的访问?

You want to check the enable security feature in the configure menu, select "Jenkins's own user database" as the security realm and then alter the security matrix to suit your requirements. 您想要在配置菜单中检查启用安全功能,选择“Jenkins自己的用户数据库”作为安全领域,然后更改安全矩阵以满足您的要求。

For the first run, give everyone full access. 对于第一次运行,给每个人完全访问权限。 Allow users to sign up, create your own account (if you don't have one) and then give full privileges to that account and remove all privileges to anonymous. 允许用户注册,创建自己的帐户(如果您没有帐户),然后为该帐户授予完全权限并删除所有匿名权限。

All the information you need should be found here: https://wiki.jenkins-ci.org/display/JENKINS/Standard+Security+Setup 您需要的所有信息都可以在这里找到: https//wiki.jenkins-ci.org/display/JENKINS/Standard+Security+Setup

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

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