Unable to unlock the keychain
<p>Building a new Jenkins for an iOS app CI story. 
I created a keychain named <code>build</code> in <strong>KeyChainAccess</strong> to hold the dev certificate. </p>

<p>I set a password for the keychain. 
<code>On Jenkins, Manage Jenkins --&gt; Keychains and Provisioning Profiles Management -&gt;</code> choose the <code>build.keychain</code> file and upload. </p>

<p>I filled in the password (the same as what I set earlier). I filled in the certificate (by copy the common name of the certificate info in KeyChain access).</p>

<p>I created a Jenkins job using the Keychain and Code Signing Identity, filled in the password. 
But when I build the project by Jenkins, it throw the following error in Console Output:</p>

<pre><code>[ProjectName] $ /usr/bin/security unlock-keychain -p ********    /Users/Shared/Jenkins/Home/jobs/JobName/workspace/build.keychain
security: SecKeychainUnlock /Users/Shared/Jenkins/Home/jobs/JobName/workspace/build.keychain: The user name or passphrase you entered is not correct.

FATAL: Unable to unlock the keychain.
</code></pre>

<p>I checked the password, I can unlock the build keychain in KeyChain Access using the password. I am not sure what username it asks for, Jenkins?</p>