ジョブの設定のソースコード管理の項目で、Repository URLに
https://[user名]@bitbucket.org/[user名]/[repository名].git
としたのですが、
Failed to connect to repository : Command "git -c core.askpass=true ls-remote -h https://hoge@bitbucket.org/hoge/repo HEAD" returned status code 128:
stdout:
stderr: remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: Authentication failed for 'https://hoge@bitbucket.org/thoge/repo/'
となります。bitbucket側で鍵は追加してあります。鍵はroot権限で作ったのですが、別idで作るべきでしょうか。
[root@ip-172-31-xx-xx .ssh]#ssh -T git@bitbucket.org
authenticated via a deploy key.
You can use git or hg to connect to Bitbucket. Shell access is disabled.
This deploy key has read access to the following repositories:
hoge/repo: aws_key_root -- root@ip-172-31-xx-xx
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。