I'm trying to start a Jenkins build from the command line on OS X.
Our server has authentication turned on so I have to authenticate from the command line call.
I've registered my ssh key with the jenkins server but I'm still required to enter the key's passphrase manually.
Here is the command I'm using:
$ java -jar jenkins-cli.jar -s http://localhost:8080/ -i ~/.ssh/id_rsa build 'MyApp'
After entering the command, I get this prompt:
Enter passphrase for /Users/jenkins/.ssh/id_rsa:
Why is the passphrase required when I'm using a private key and how do I overcome this?