bitbucket 密碼有更新,本地windows開發工具和jenkins都報錯:
fatal: remote error: CAPTCHA required
Your Bitbucket account has been locked. To unlock it and log in again you must
solve a CAPTCHA. This is typically caused by too many attempts to login with an
incorrect password. The account lock prevents your SCM client from accessing
Bitbucket and its mirrors until it is solved, even if you enter your password
correctly.
If you are currently logged in to Bitbucket via a browser you may need to
logout and then log back in in order to solve the CAPTCHA.
Visit Bitbucket at http://bitbucket-pv.saicmotor.com for more details.
處理步驟如下:
1.清除windows本地開發憑據,重新登錄;
結果:嗯?還是有錯?難道是jenkins憑據問題?
2.更換 jenkins系統憑據
結果:嗯?還是報錯,重新登錄bitbucket上看一下(注意不要從JIRA跳轉到bitbucket)
3.關閉所有瀏覽器,輸入bitbucket地址,輸入用戶名彈出了驗證碼,也就是:CAPCHA,輸入正確驗證碼登錄一下;
開發本地和jenkins報錯取消了!
想了想:bitbucket這樣做是防止通過第三方工具簡單循環破譯密碼,所以密碼錯誤鎖定后一定要去bitbucket 輸入驗證碼及正確的密碼能繼續,合情合理。