Build a new Jenkins iOS CI story application. I created a keyring with a name buildin KeyChainAccess to store the dev certificate.
I set a password for the keychain. On Jenkins, Manage Jenkins --> Keychains and Provisioning Profiles Management -> build.keychain On Jenkins, Manage Jenkins --> Keychains and Provisioning Profiles Management ->select the file build.keychainand upload.
I filled in the password (same as before). I filled out the certificate (by copying the common name of the certificate information in KeyChain access).
I created a Jenkins work using a key and code binding identifier filled with a password. But when I create a project by Jenkins, it throws the following error in the Output Console:
[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.
I checked the password, I can unlock the keychain in KeyChain Access with a password. I'm not sure what username is asking, Jenkins?