Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins blue ocean change github access token

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

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

jenkins generate 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.

no way to change github access token

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.

Any Ideas how to change?

like image 220
Ivan Talalaev Avatar asked Jul 19 '17 10:07

Ivan Talalaev


1 Answers

Steps to delete the Access-Token:

  1. Go to the 'old' interface (i.e. not Blue Ocean)
  2. Click on your username in the top right
  3. Click on Credentials on the left
  • You should see an entry with the domain blueocean-github-domain the id github and the name <username>/****** (Github Access Token).

Delete it.

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

like image 62
tkausl Avatar answered Nov 08 '22 16:11

tkausl