詹金斯蓝海改变github访问令牌 [英] Jenkins blue ocean change github access token

查看:172
本文介绍了詹金斯蓝海改变github访问令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

詹金斯蓝海很酷的持续集成工具,但是我遇到了以下问题:

Jenkins blue ocean pretty cool continuous integration tool, but I faced the following problem:

根据要求,在主页上插入了GitHub access token

At the main page, as was asked, I inserted my GitHub access token

然后,我意识到这是另一家公司的不正确令牌.
现在,我想更改为另一个令牌,但是没有其他选择.我总是出现以下屏幕,无法更改键.

And after that I realized that was incorrect token from another company.
And now I want to change to another token but there is no option to do that. I'm always getting the following screen without the possibility to change the key.

我发现,如果我从 GiHub令牌页面中删除了令牌,则可以插入新的令牌在上述页面上.但是,现在无法删除该令牌.我需要通过 Jenkins UI 解决问题.

I found out that if I the token was deleted from GiHub tokens page I can insert the new one at the page depicted above. But now there is no way to delete that token. I need to resolve the problem from Jenkins UI.

任何想法如何改变?

推荐答案

删除访问令牌的步骤:

  1. 转到旧"界面(即不是Blue Ocean)
  2. 单击右上角的用户名
  3. 单击左侧的Credentials

您应该看到一个条目,其域为blueocean-github-domain,标识为github,名称为<username>/****** (Github Access Token).删除它.

You should see a entry with the domain blueocean-github-domain the id github and the name <username>/****** (Github Access Token). Delete it.

然后,当使用"Github"作为源时,BlueOcean将再次要求访问令牌.

Afterwards, BlueOcean will ask for an Access Token again, when using "Github" as source.

这篇关于詹金斯蓝海改变github访问令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆