Jenkins blue ocean change github access token

六月ゝ 毕业季﹏ 提交于 2019-12-05 04:56:29

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 a entry with the domain blueocean-github-domain the id github and the name <username>/****** (Github Access Token). Delete it.

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

I tried many things, at the moment best solution is to delete project and create new blueocean project with new credentials.

Add a new credential in Jenkins and choose "Username and Password" as the type. The username should be your GitHub username and the password is the API token. Make sure the credential is added to a store that the project has access to.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!