hudson.util.jna.WinIOException: Failed to create a symlink C:\Jenkins\jobs\JobName\lastStable to builds/lastStableBuild error=183:null

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\lastStable to builds\lastStableBuild error=5:Access is denied
via Jenkins JIRA by Kevin Thieling, 1 year ago
Failed to create a symlink F:\jenkins\jobs\ExampleJob\lastStable to builds\lastStableBuild error=5:Access is denied
via Jenkins JIRA by Dominika Tomaszewska, 1 year ago
Failed to create a symlink T:\jenkins\jobs\Bootloader\lastStable to builds\lastStableBuild error=1:Incorrect function
via Jenkins JIRA by Dominika Tomaszewska, 1 year ago
Failed to create a symlink T:\jenkins\jobs\Bootloader\lastStable to builds\lastStableBuild error=1:Incorrect function
hudson.util.jna.WinIOException: Failed to create a symlink C:\Jenkins\jobs\JobName\lastStable to builds/lastStableBuild error=183:null
at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:92)
at hudson.Util.createSymlink(Util.java:1061)
at hudson.model.AbstractBuild.createSymlink(AbstractBuild.java:488)
at hudson.model.AbstractBuild.access$700(AbstractBuild.java:103)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:723)
at hudson.model.Run.execute(Run.java:1600)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)

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.