Running a build from windows will end successfully, however it will throw the following AccessDeniedException.
Started by user user@host.com ln \\domain\public\projects\eng\test\project\master\task\lastSuccessfulBuild C:\jenkins\data\jobs\eng\jobs\test\jobs\project\jobs\master\jobs\task\lastSuccessful failed java.nio.file.AccessDeniedException: C:\jenkins\data\jobs\eng\jobs\test\jobs\project\jobs\master\jobs\task\lastSuccessful at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) at sun.nio.fs.WindowsFileSystemProvider.createSymbolicLink(Unknown Source) at java.nio.file.Files.createSymbolicLink(Unknown Source) at sun.reflect.GeneratedMethodAccessor357.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.Util.createSymlinkJava7(Util.java:1226) at hudson.Util.createSymlink(Util.java:1142) at hudson.model.Run.createSymlink(Run.java:1842) at hudson.model.Run.updateSymlinks(Run.java:1823) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:176) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) ln \\domain\public\projects\eng\test\project\master\task\lastStableBuild C:\jenkins\data\jobs\eng\jobs\test\jobs\project\jobs\master\jobs\task\lastStable failed java.nio.file.AccessDeniedException: C:\jenkins\data\jobs\eng\jobs\test\jobs\project\jobs\master\jobs\task\lastStable at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) at sun.nio.fs.WindowsFileSystemProvider.createSymbolicLink(Unknown Source) at java.nio.file.Files.createSymbolicLink(Unknown Source) at sun.reflect.GeneratedMethodAccessor357.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.Util.createSymlinkJava7(Util.java:1226) at hudson.Util.createSymlink(Util.java:1142) at hudson.model.Run.createSymlink(Run.java:1842) at hudson.model.Run.updateSymlinks(Run.java:1824) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:176) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Running: Allocate node : Start Running on slave-3 in C:\jk\workspace\eng\test\project\master\task Running: Allocate node : Body : Start Running: Print Message test message Running: Allocate node : Body : End Running: Allocate node : End Running: End of Workflow Finished: SUCCESS
- relates to
-
JENKINS-26195 Failed to update permalink: unable to delete
- Resolved
- links to