[JIRA] (JENKINS-40146) Failed to copy error while copying mobileprovision file

3 views
Skip to first unread message

srisreeku@gmail.com (JIRA)

unread,
Dec 1, 2016, 5:45:02 AM12/1/16
to jenkinsc...@googlegroups.com
Sri Sreeku created an issue
 
Jenkins / Bug JENKINS-40146
Failed to copy error while copying mobileprovision file
Issue Type: Bug Bug
Assignee: Unassigned
Components: kpp-management-plugin
Created: 2016/Dec/01 10:44 AM
Environment: Mac OS X Sierra
Labels: Jenkins failedtoCopy mobileprovision
Priority: Major Major
Reporter: Sri Sreeku

When I run the build, I get these errors
When I run a command in terminal to copy file from source folder to destination folder, it succeeds. But jenkins is unable to copy

FATAL: Failed to copy /Users/Shared/Jenkins/Home/kpp_upload/abcdfe-e441-407b-ba4a-34e97bf71f5b.mobileprovision to /Users/*****/Library/MobileDevice/Provisioning Profiles/abcdfe-e441-407b-ba4a-34e97bf71f5b.mobileprovision
java.io.IOException: Failed to copy /Users/Shared/Jenkins/Home/kpp_upload/abcdfe-e441-407b-ba4a-34e97bf71f5b.mobileprovision to /Users/*****/Library/MobileDevice/Provisioning Profiles/abcdfe-e441-407b-ba4a-34e97bf71f5b.mobileprovision
at hudson.FilePath.copyTo(FilePath.java:2018)
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:156)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1720)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Caused by: java.io.FileNotFoundException: /Users/*****/Library/MobileDevice/Provisioning Profiles/abcdfe-e441-407b-ba4a-34e97bf71f5b.mobileprovision (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at hudson.FilePath.write(FilePath.java:1907)
at hudson.FilePath.copyTo(FilePath.java:2011)
... 8 more
Finished: FAILURE

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

srisreeku@gmail.com (JIRA)

unread,
Dec 1, 2016, 5:49:01 AM12/1/16
to jenkinsc...@googlegroups.com
Sri Sreeku updated an issue
Change By: Sri Sreeku
When I run the have uploaded provisioning file in KeyChain and Provisioning Profiles management plugin.
In job configuration, in Build environment section, Monile Provisioning Profile, uploaded profile is selected.
When
build is run , I get these errors

15037150825@163.com (JIRA)

unread,
Dec 10, 2018, 3:45:02 AM12/10/18
to jenkinsc...@googlegroups.com
gao chaoyang commented on Bug JENKINS-40146
 
Re: Failed to copy error while copying mobileprovision file

you solved this problem?I  have same problem

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

15037150825@163.com (JIRA)

unread,
Dec 10, 2018, 3:46:02 AM12/10/18
to jenkinsc...@googlegroups.com

hi , you solved this problem? I have same problem

15037150825@163.com (JIRA)

unread,
Dec 10, 2018, 3:48:02 AM12/10/18
to jenkinsc...@googlegroups.com
gao chaoyang updated an issue
 
Change By: gao chaoyang
Comment: you solved this problem?I  have same problem
Reply all
Reply to author
Forward
0 new messages