Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何检查Jenkins 实例上的所有经过身份验证的用户是否都具有管理权限?
在 Jenkins 实例的 groovy 脚本控制台上运行以下命令
http://jenkins-url/脚本
Jenkins.instance.authorizationStrategy.hasPermission("authenticated",Jenkins.ADMINISTER);