-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Critical
-
Component/s: uipath-automation-package-plugin
-
None
Using build to deploy Uipath Process...
Â
Steps done: Created a build with SVN repository.Â
in the Build using Uipath plugin to create a Uipath pack.
When executing the build in our server i'm getting below error after getting the process from SVN site and loading that to workflow.
Â
Failed to package project: System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\Jenkins\workspace\CICDSVNTest\project.json' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents)
at System.IO.Abstractions.FileWrapper.WriteAllText(String path, String contents)
at UiPath.Project.WorkflowProjectRepository.Save(IWorkflowProject project, String path)
at UiPath.Studio.ProjectPackager.Packager.Services.ProjectPackagerService.SaveProjectVersion(IWorkflowProject project, ProjectVersion version)
at UiPath.Studio.ProjectPackager.Packager.Services.ProjectPackagerService.<PackProjectExternal>d__7.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at UiPath.CommandLine.Services.Impl.PackService.<PackProject>d__9.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CommandLine.Services.Impl.PackService.<Run>d__6.MoveNext()
ERROR: Failed to run the command
Finished: FAILURE