Use REPO plugin with ssh-agent plugin to repo init failed if passphrase is not empty.
1. Use ssh-keygen to generate public/private rsa key pair, and enter passphrase;
2. Add Credentials in Jenkins named 'phoebus', fill private key and passphrase. Fill public key to Gerrit.
3. Create a Job, use Gerrit Repo as Source Code Management, the Manifest Repository Url is ssh://phoebus@ubuntu:29418/platform/manifest, and SSH Agent-> Credentials chose 'phoebus';
3. Build failed, the Console Output is as follows:
BTW, I try to create a new job and use Git Plugin to clone ssh://phoebus@ubuntu:29418/platform/manifest, it is successful.