[JIRA] [xcode] (JENKINS-22130) keychain with the same name already exists error with developer profile import
Younes Nouri Soltan commented on JENKINS-22130 keychain with the same name already exists error with developer profile import It worked for me too. security delete-keychain jenkins-jobName The problem is that if the build crashes for any other reason it removes the jobName and on the next build Let's say that the other problem was causing the crash has been fixed 'security delete-keychain jenkins-jobName' tries to remove jobName which has been removed on last build already and therefore it crashes again since it can't find the jobName. Is there anyway to ensure that jobName does extist before trying to delete it? Or any other ideas please? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [xcode] (JENKINS-22130) keychain with the same name already exists error with developer profile import
Younes Nouri Soltan edited a comment on JENKINS-22130 keychain with the same name already exists error with developer profile import It worked for me too. security delete-keychain jenkins-jobName The problem is that if the build crashes (for any other reason) it removes the jobName and on the next build (Let's say that the other problem was causing the crash has been fixed) 'security delete-keychain jenkins-jobName' tries to remove jobName which has been removed on last build already and therefore it crashes again since it can't find the jobName. Is there anyway to ensure that jobName does exist before trying to delete it? Or any other ideas please? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [xcode] (JENKINS-22130) keychain with the same name already exists error with developer profile import
Cesar Carrasco commented on JENKINS-22130 keychain with the same name already exists error with developer profile import deleting the key prior to building as GH Portefait suggested worked for me: security delete-keychain "jenkins-$JOB_NAME" This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [xcode] (JENKINS-22130) keychain with the same name already exists error with developer profile import
Cesar Carrasco edited a comment on JENKINS-22130 keychain with the same name already exists error with developer profile import deleting the key prior to building as GH Portefait suggested worked for me: security delete-keychain "jenkins-$JOB_NAME" || : This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [xcode] (JENKINS-22130) keychain with the same name already exists error with developer profile import
GH Portefait commented on JENKINS-22130 keychain with the same name already exists error with developer profile import I experienced the same problem, but it seems I found an easy bypass. I add a step to the build "execute shel script" and my script is just : security delete-keychain "jenkins-Building Your Project" This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [xcode] (JENKINS-22130) keychain with the same name already exists error with developer profile import
Trey Duskin updated JENKINS-22130 keychain with the same name already exists error with developer profile import Change By: Trey Duskin (11/Mar/14 9:50 PM) Summary: keychainwiththesamenamealreadyexistserrorwith Multi-configurationand developerprofileimport Description: Ihavea multi-configuration buildsetupusingtheXcodepluginwitha user-definedaxisforbuildtargetsintheXcodeproject,aswellastheslaveaxis restrictionset to forcethebuildstoexecute run on my an OSXbuildslave (andnotanywhereelse) .ThefirstbuildstepinthisjobistoimportthedeveloperprofileusingtheImportDeveloperProfilefunction.WhenIsetitupthisway,thefirsttimeIexecutethebuild,the childjobslaunch joblaunches and complete completes successfully.ThesecondtimeItrytorunthisbuild,however, all the childjobsfail jobfails attheimportdeveloperprofilestep.Theconsolelogfor oneof the child buildsshowsthefollowing:$securitylist-keychains$securitycreate-keychain-pjenkins-iOS-Client- app=TargetA,label=osx Dev security:SecKeychainCreatejenkins-iOS-Client- app=TargetA,label=osx Dev :Akeychainwiththesamenamealreadyexists.ERROR:FailedtocreateakeychainFinished:FAILURE Theotherchildjobsshowthesameerrorsfortheirrespectivebuildtargets. IfImanuallyrunthesecuritylist-keychainsonthebuildslaveasthebuilduser(jenkins),Idontseeanykeychainslisted:$sudo-ujenkinssecuritylist-keychainsPassword:/Library/Keychains/System.keychain However,if I lookintheKeychainsdirectoryforthe mguessingthisiswhy jenkinsuseron the Xcodeplugintriestore-create OSXmachine,Iseeafilenamedwith thekeychain :$pwd/var/lib/jenkins/Library/Keychains$ls-ltotal176-rw-r--r--1jenkinsjenkins37292Mar:33jenkins-iOS-Client-Dev-rw-r--r--1jenkinsjenkins45164Feb2117:30login . keychain Thisisamajorissueforusas,without us beingableto usemulti-configurationjobswithXcode importdeveloperprofilesdynamicallyinthejobconfig ,wehaveto createanewjobforeveryindividual gomanuallytweakthe build target environmenttoincludethepropercerts , whichisunscalableforus mobileprofilesandcredentials . This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [xcode] (JENKINS-22130) keychain with the same name already exists error with developer profile import
Trey Duskin commented on JENKINS-22130 keychain with the same name already exists error with developer profile import discovered this issue actually applies to all my Xcode build jobs, not just the multi config. it always happens on the second run. i have update d the bug to reflect this This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.