New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added an ability to import *.developerprofile into a build #34

merged 7 commits into from Oct 2, 2013


None yet
4 participants
Copy link

kohsuke commented Aug 30, 2013

This change allows users to register their *.developerprofile (which contains provisioning profiles and code signing identities) as a credential, and import that into slaves prior to builds.

This way keeping the same set of code signing keys&certs on slaves become a lot easier.

kohsuke added some commits Jul 19, 2013


This comment has been minimized.

Copy link

buildhive commented Aug 30, 2013

Jenkins » xcode-plugin #70 SUCCESS
This pull request looks good
(what's this?)


This comment has been minimized.

Copy link

jenkinsadmin commented Sep 22, 2013

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

kohsuke added a commit that referenced this pull request Oct 2, 2013

Merge pull request #34 from kohsuke/master
Added an ability to import *.developerprofile into a build

@kohsuke kohsuke merged commit a6af3fa into jenkinsci:master Oct 2, 2013


This comment has been minimized.

Was this working for you pre Mavericks?

I've got Jenkins all set up and this worked beautifully the first time but fails subsequently because security list-keychains is not displaying all keychains stored in ~/Library/Keychains. As a result the create fails because the check missed the existing keychain so it is not deleted.

This comment has been minimized.

Copy link
Owner Author

kohsuke replied Nov 4, 2013

I've used Mountain Lion to develop this. But changes would be welcome. It sounds like maybe we could just look at files under ~/Library/Keychains?

This comment has been minimized.

Copy link

tapi replied Nov 4, 2013

Since the file name is fixed within the function I used security delete-keychain ~/Library/Keychains/<keychain> in a preflight script.
Since it's going to be deleted anyway you can just call the delete without the check.

invoke(launcher, listener, args, "Failed to unlock keychain");

final FilePath secret = getSecretDir(build, keychainPass);
secret.unzipFrom(new ByteArrayInputStream(dp.getImage()));

This comment has been minimized.


tapi Nov 4, 2013

Second issue I've found. Turns out the format for dev profiles changed between Xcode 4 and 5. If I export a dev profile from 5 I get an exception here, If I export it from 4 it work just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment