Jenkins to Stash Notifier Plugin error 尽管凭据正确

Jenkins to Stash Notifier Plugin error despite correct credentials

我已经在 J​​enkins 上设置了一个 post 构建操作,以将构建结果通知 Stash。但是,我收到一条错误消息:

Failed to notify Stash for commit <sha1> ({"errors":[{"context":null,"message":"CAPTCHA required. Your Stash account has been marked as requiring a CAPTCHA to be solved before you may login again. This is typically caused by too many attempts to login with an incorrect password.\nIf you are currently logged in to Stash via a browser you may need to logout and then log back in in order to clear the CAPTCHA.\n\nVisit Stash at <link> for more details.","exceptionName":null}]})

但是,我已经为 Stash 存储库(在访问密钥下)设置了正确的凭据,私钥在 Jenkins 上。此外,当我将提交推送到 Stash 时,Jenkins 会触发并开始构建。所以我得出结论,这不是凭据问题。

此消息表明您的 Stash 帐户需要解锁(使用验证码)。也许您尝试了一些错误的密码(使用 Jenkins)。

使用相关帐户登录Stash(在全局Jenkins设置中找到),输入正确的验证码。

它将解锁您的帐户,Jenkins 将能够通知 Stash。