【问题标题】:Authentication failed for 'github.com/....' jenkins'github.com/....' jenkins 的身份验证失败
【发布时间】:2021-10-24 08:10:04
【问题描述】:

我正在尝试从 Jenkins 登录 GitHub 以运行作业,然后提交并将其推送到 GitHub。

我尝试了the steps in the first comment of this post,但它对我不起作用:它一直说身份验证失败,即使我已经在 Git Auth 插件上设置了所有内容。

这是jenkins console error

【问题讨论】:

标签: git authentication github jenkins


【解决方案1】:

虽然我已经在 git auth 插件上设置了所有内容

确保您“设置”的内容涉及使用PAT (Personnal Access Token) 作为密码。

然后连接就可以了,因为 GitHub 不再直接使用用户帐户密码。

【讨论】:

    猜你喜欢
    • 2014-10-13
    • 1970-01-01
    • 1970-01-01
    • 2014-01-24
    • 1970-01-01
    • 2017-11-27
    • 1970-01-01
    相关资源
    最近更新 更多