Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21666

Provisioning profiles and keychains cannot be delivered when the master is not a Mac

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • kpp-management-plugin
    • None
    • Master: Windows Server 2012
      Slave: Mac OS X Mavericks

      Our master is running on Windows Server 2012 and we have two Mac slaves. I have successfully imported a keychain and several provisioning profiles, but when I attempt to use them in a job I get this error:

      FATAL: Failed to copy C:\Jenkins\kpp_upload\iOS_Team_Provisioning_Profile_.mobileprovision to /User/jenkinssvc/Library/MobileDevice/Provisioning Profiles\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision
      hudson.util.IOException2: Failed to copy C:\Jenkins\kpp_upload\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision to /User/*****/Library/MobileDevice/Provisioning Profiles\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision
      at hudson.FilePath.copyTo(FilePath.java:1771)
      at com.sic.plugins.kpp.KPPProvisioningProfilesBuildWrapper.copyProvisioningProfiles(KPPProvisioningProfilesBuildWrapper.java:161)
      at com.sic.plugins.kpp.KPPProvisioningProfilesBuildWrapper.setUp(KPPProvisioningProfilesBuildWrapper.java:99)
      at hudson.model.Build$BuildExecution.doRun(Build.java:154)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)
      at hudson.model.Run.execute(Run.java:1665)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:246)
      Caused by: java.io.FileNotFoundException: /User/jenkinssvc/Library/MobileDevice/Provisioning Profiles\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision (No such file or directory)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
      at hudson.FilePath$29.call(FilePath.java:1674)
      at hudson.FilePath$29.call(FilePath.java:1669)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:695)

            Unassigned Unassigned
            tyrius Jonathan Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: