You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何调出Jenkins的Manage Jenkins及Credentials按钮?

Fixing Missing Manage Jenkins & Credentials Buttons in Remote Jenkins

Hey there! As someone who stumbled through this exact issue when I was new to Jenkins, let me break down the most common fixes—this almost always comes down to permission settings since Jenkins keeps admin features locked down tight by default.

Step 1: Verify Your Account Has Admin Permissions

If you're already logged in, start here:

  • Look for your username in the top right corner of the Dashboard, click it, then select Configure.
  • In your user configuration page, check the Groups or Permissions section. Make sure your account is part of the admin group, or that you have the Overall/Administer permission explicitly assigned.
  • If you don't see the user configuration option at all, you're probably logged in as an anonymous user. Try logging out and signing back in with an admin account (if you have one).

Step 2: Reset Permissions via Jenkins Config File (If You Can't Access Admin Settings)

If you've lost admin access or never set one up, you'll need to tweak the Jenkins config file on your remote server:

  • SSH into your remote Jenkins server (or access the file system directly if it's a Windows server).
  • Locate Jenkins' home directory:
    • Linux: Usually /var/lib/jenkins
    • Windows: Typically C:\Program Files\Jenkins
  • Stop the Jenkins service:
    • Linux: Run sudo systemctl stop jenkins
    • Windows: Open Services, find Jenkins, and click Stop
  • Open the config.xml file in a text editor.
  • Find the line <useSecurity>true</useSecurity> and change true to false. Save the file.
  • Restart Jenkins:
    • Linux: sudo systemctl start jenkins
    • Windows: Start the Jenkins service again via Services
  • Now you can access Jenkins without security enabled. Go to Manage Jenkins → Configure Global Security to re-enable security, create an admin account, and assign proper permissions.
  • Don't forget to set <useSecurity>true</useSecurity> back in config.xml and restart Jenkins once you're done—security is non-negotiable!

Step 3: Check for Required Plugins

While Manage Jenkins is a default feature, the Credentials button depends on the Credentials Plugin:

  • Once you have admin access, go to Manage Jenkins → Manage Plugins.
  • Switch to the Installed tab and search for Credentials Plugin. If it's missing, go to the Available tab, find it, install it, then restart Jenkins.

内容的提问来源于stack exchange,提问作者Asish

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.15 07:34:07