hudson.util.jna.WinIOException: Failed to create a symlink F:\jenkins\jobs\ExampleJob\lastSuccessful to builds\lastSuccessfulBuild error=5:Access is denied

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Kevin Thieling, 1 year ago
Failed to create a symlink F:\jenkins\jobs\ExampleJob\lastSuccessful to builds\lastSuccessfulBuild error=5:Access is denied
via Jenkins JIRA by Kevin Thieling, 1 year ago
Failed to create a symlink F:\jenkins\jobs\ExampleJob\lastSuccessful to builds\lastSuccessfulBuild error=5:Access is denied
via Jenkins JIRA by Dominika Tomaszewska, 1 year ago
Failed to create a symlink T:\jenkins\jobs\Bootloader\lastSuccessful to builds\lastSuccessfulBuild error=1:Incorrect function
via Jenkins JIRA by Dominika Tomaszewska, 1 year ago
Failed to create a symlink T:\jenkins\jobs\Bootloader\lastSuccessful to builds\lastSuccessfulBuild error=1:Incorrect function
hudson.util.jna.WinIOException: Failed to create a symlink F:\jenkins\jobs\ExampleJob\lastSuccessful to builds\lastSuccessfulBuild error=5:Access is denied
at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:92)
at hudson.Util.createSymlink(Util.java:1049)
at hudson.model.AbstractBuild.createSymlink(AbstractBuild.java:494)
at hudson.model.AbstractBuild.access$700(AbstractBuild.java:105)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:728)
at hudson.model.Run.execute(Run.java:1618)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:247)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.