Jenkins UIPath Plug in fails with Access denied error

Junkins UIPath plugin is failing post packging on Jenkins. It is throwing following exception. Irrespective of giving the output path.

FATAL: Failed to extract c:\jenkins\workspace\TestUiPath@tmp\Output/**/*
java.nio.file.AccessDeniedException: /var/lib/jenkins\jobs\TestUiPath\builds\2
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
at java.nio.file.Files.createDirectory(Files.java:674)
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
at java.nio.file.Files.createDirectories(Files.java:767)
at hudson.FilePath.mkdirs(FilePath.java:3256)
at hudson.FilePath.readFromTar(FilePath.java:2592)
Also: Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from

Same issue here:

    expected plugin jar path is : /var/lib/jenkins/plugins/uipath-automation-package/WEB-INF/lib/uipath-automation-package.jar
extracting powershell modules to temp folder
extracted powershell modules to temp folder
[ADM-ZK-Guthaben-INT] $ powershell.exe -NonInteractive -ExecutionPolicy ByPass "& 'C:\Users\jenkins\AppData\Local\Temp\jenkins6986707677935666791.ps1'"
WARNUNG: Einige importierte Befehlsnamen enthalten mindestens eines der folgenden eingeschr„nkten Zeichen: # , ( ) {{ 
}} [ ] & - / \ $ ^ ; : " ' < > | ? @ ` * % + = ~
02.04.2020 13:30:18: Running pack with the arguments: -pack C:\apps\jenkins\workspace\ADM-ZK-Guthaben-INT\zk-guthaben\project.json -o c:\apps\jenkins\workspace\ADM-ZK-Guthaben-INT@tmp\Output -v 1.0.32
02.04.2020 13:30:22: Pack result: Projekt erfolgreich ver?ffentlicht. Name: BSH_ZKG Version: 1.0.32 Ort: c:\apps\jenkins\workspace\ADM-ZK-Guthaben-INT@tmp\Output #json{   "ProjectPath": "C:\\apps\\jenkins\\workspace\\ADM-ZK-Guthaben-INT\\zk-guthaben\\project.json" }#json 

FATAL: Failed to extract c:\apps\jenkins\workspace\ADM-ZK-Guthaben-INT@tmp\Output/**/*
java.nio.file.AccessDeniedException: /c:\apps\jenkins\workspace\ADM-ZK-Guthaben-INT\horsthuber
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
	at java.nio.file.Files.createDirectory(Files.java:674)
	at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
	at java.nio.file.Files.createDirectories(Files.java:767)
	at hudson.FilePath.mkdirs(FilePath.java:3256)
	at hudson.FilePath.readFromTar(FilePath.java:2592)
Also:   	Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from WV123456/xxx.xx.xxx.xx:58600
			at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
			at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
			at hudson.remoting.Channel$2.adapt(Channel.java:990)
			at hudson.remoting.Channel$2.adapt(Channel.java:986)
			at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
			at hudson.FilePath.copyRecursiveTo(FilePath.java:2389)
			at hudson.FilePath.copyRecursiveTo(FilePath.java:2350)
			at hudson.FilePath.copyRecursiveTo(FilePath.java:2338)
			at hudson.FilePath.copyRecursiveTo(FilePath.java:2321)
			at hudson.FilePath.copyRecursiveTo(FilePath.java:2306)
			at com.uipath.uipathpackage.UiPathPack.perform(UiPathPack.java:88)
			at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
			at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
			at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
			at hudson.model.Build$BuildExecution.build(Build.java:206)
			at hudson.model.Build$BuildExecution.doRun(Build.java:163)
			at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
			at hudson.model.Run.execute(Run.java:1853)
			at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
			at hudson.model.ResourceController.execute(ResourceController.java:97)
			at hudson.model.Executor.run(Executor.java:427)
java.io.IOException: This archive contains unclosed entries.
		at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.finish(TarArchiveOutputStream.java:289)
		at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.close(TarArchiveOutputStream.java:307)
		at hudson.util.io.TarArchiver.close(TarArchiver.java:126)
		at hudson.FilePath.writeToTar(FilePath.java:2568)
		at hudson.FilePath.access$4000(FilePath.java:211)
		at hudson.FilePath$CopyRecursiveRemoteToLocal.invoke(FilePath.java:2531)
		at hudson.FilePath$CopyRecursiveRemoteToLocal.invoke(FilePath.java:2518)
		at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3069)
		at hudson.remoting.UserRequest.perform(UserRequest.java:212)
		at hudson.remoting.UserRequest.perform(UserRequest.java:54)
		at hudson.remoting.Request$2.run(Request.java:369)
		at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
		at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
		at java.lang.Thread.run(Thread.java:745)
	Caused: java.util.concurrent.ExecutionException
		at hudson.remoting.Channel$2.adapt(Channel.java:992)
		at hudson.remoting.Channel$2.adapt(Channel.java:986)
		at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
		at hudson.FilePath.copyRecursiveTo(FilePath.java:2389)
Caused: java.io.IOException: Failed to extract c:\apps\jenkins\workspace\ADM-ZK-Guthaben-INT@tmp\Output/**/*
	at hudson.FilePath.readFromTar(FilePath.java:2608)
	at hudson.FilePath.copyRecursiveTo(FilePath.java:2386)
	at hudson.FilePath.copyRecursiveTo(FilePath.java:2350)
	at hudson.FilePath.copyRecursiveTo(FilePath.java:2338)
	at hudson.FilePath.copyRecursiveTo(FilePath.java:2321)
	at hudson.FilePath.copyRecursiveTo(FilePath.java:2306)
	at com.uipath.uipathpackage.UiPathPack.perform(UiPathPack.java:88)
	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
	at hudson.model.Build$BuildExecution.build(Build.java:206)
	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
	at hudson.model.Run.execute(Run.java:1853)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:427)
Finished: FAILURE

I am Getting same error with plugin, Any help please

14.04.2020 22:12:47: Running pack with the arguments: -pack D:\workspace\RAP-PROTOTYPE\RAP-PROTOTYPE-BUILD-2\project.json -o D:\workspace\RAP-PROTOTYPE\RAP-PROTOTYPE-BUILD-2@tmp\Output -v 0.1.4

14.04.2020 22:12:49: Pack result: Project published successfully. Name: CSAM_PoC Version: 0.1.4 Location: D:\workspace\RAP-PROTOTYPE\RAP-PROTOTYPE-BUILD-2@tmp\Output #json{ “ProjectPath”: “D:\workspace\RAP-PROTOTYPE\RAP-PROTOTYPE-BUILD-2\project.json” }#json
FATAL: Failed to extract D:\workspace\RAP-PROTOTYPE\RAP-PROTOTYPE-BUILD-2@tmp\Output//*
java.nio.file.AccessDeniedException: /D:\workspace\RAP-PROTOTYPE\RAP-PROTOTYPE-BUILD-2\builds\4
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
at java.nio.file.Files.createDirectory(Files.java:674)
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
at java.nio.file.Files.createDirectories(Files.java:767)
at hudson.FilePath.mkdirs(FilePath.java:3256)
at hudson.FilePath.readFromTar(FilePath.java:2592)
Caused: java.io.IOException: Failed to extract D:\workspace\RAP-PROTOTYPE\RAP-PROTOTYPE-BUILD-2@tmp\Output/
/*
at hudson.FilePath.readFromTar(FilePath.java:2608)
at hudson.FilePath.copyRecursiveTo(FilePath.java:2386)
at hudson.FilePath.copyRecursiveTo(FilePath.java:2350)
at hudson.FilePath.copyRecursiveTo(FilePath.java:2338)
at hudson.FilePath.copyRecursiveTo(FilePath.java:2321)
at hudson.FilePath.copyRecursiveTo(FilePath.java:2306)
at com.uipath.uipathpackage.UiPathPack.perform(UiPathPack.java:88)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1853)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:427)

Finished: FAILURE

Just to update, I have installed the new release of the Jenkins Plugin, 2.0.0, and the Problem seems to be fixed with this Version.