从 Jenkins 的 GIT 中删除凭据

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34721686/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 03:50:44  来源:igfitidea点击:

Remove Credentials from GIT in Jenkins

gitjenkins

提问by Aman Mohammed

Anybody knows how to remove the users from the Credentials drop down in Jenkins for a project under Source Code Management -> Git Repositories

任何人都知道如何从 Jenkins 的 Credentials 下拉菜单中为 Source Code Management -> Git Repositories 下的项目删除用户

Referring to the section highlighted in yellow in attached screen shot: enter image description here

参考附加屏幕截图中以黄色突出显示的部分: 在此处输入图片说明

I seem to have added a few users in error and want to remove them from the drop down. I dont see any option to delete them.

我似乎错误地添加了一些用户,并想从下拉列表中删除它们。我没有看到任何删除它们的选项。

回答by Aman Mohammed

Ok i found it, just had to look around. It was under the Jenkins Home page -> Credentials.

好的,我找到了,只需要四处看看。它位于 Jenkins 主页 -> 凭据下。

It is not present under the Credentials section of the Configuration page. I thought since it was GIT based, it was storing users under that configuration.

它不存在于“配置”页面的“凭据”部分下。我认为因为它是基于 GIT 的,所以它在该配置下存储用户。

回答by NarendraC

Detail Steps to delete GitHub's credentials from Jenkins:

从 Jenkins 中删除 GitHub 凭据的详细步骤:

  1. Go to Jenkins's Dashboard
  2. Click on "Credentials" [Located at left side menu]
  3. You will now able to see :
    • Store
    • Domain
    • ID
    • Name
  4. Click on on "Name", you will get options "Update", "Delete" & "Move". Choose your option.!
  1. 转到Jenkins 的仪表板
  2. 点击“凭据”[位于左侧菜单]
  3. 您现在将能够看到:
    • 店铺
    • 领域
    • ID
    • 姓名
  4. 单击“名称”,您将获得“更新”、“删除”和“移动”选项。选择您的选项。!

enter image description here

在此处输入图片说明