尽管凭据正确,Jenkins仍然存储Notifier插件错误

时间:2016-03-30 07:22:33

标签: jenkins bitbucket-server

我已经在Jenkins上设置了一个构建后操作,以通知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 repo设置了正确的凭据(在Access Keys下),私钥在Jenkins上。此外,当我将提交推送到Stash时,Jenkins触发并开始构建。所以我得出结论,这不是证书问题。

1 个答案:

答案 0 :(得分:1)

此消息表示您的Stash帐户需要解锁(使用CAPTCHA)。也许你用错误的密码做了一些尝试(和詹金斯一起)。

使用相关帐户登录Stash(找出全局Jenkins设置中的内容),输入正确的CAPTCHA。

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