【发布时间】:2021-02-09 15:44:57
【问题描述】:
我正在尝试将我的 Jenkins 服务器与 github 项目链接。 使用 GitHub 作为源设置多分支管道作业并添加我的凭据时,我收到以下错误:
Invalid credentials: https://api.github.com/user {"message":"Requires authentication","documentation_url":"https://docs.github.com/rest/reference/users#get-the-authenticated-user"}
我检查了我的凭据,它们实际上是正确的。可能是什么问题?
在配置中,我添加了https://api.github.com 作为 GitHub 服务器。在那里,我检查了我的 GPAT 凭据,它们可以正常工作。
【问题讨论】: