hudson.util.jna.WinIOException: Failed to create a symlink T:\jenkins\jobs\Bootloader\lastStable to builds\lastStableBuild error=1:Incorrect function

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 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
via Google Groups by Steve K, 2 years ago
Failed to create a symlink D:\Jenkins\jobs\testjob\lastSuccessful to builds\lastSuccessfulBuild error=183:Cannot create a file when that file already exists
via Jenkins JIRA by Rick Patterson, 1 year ago
Failed to create a symlink C:\Users\build_user\.jenkins\jobs\Disk_Monitor\lastSuccessful to builds\lastSuccessfulBuild error=183:Cannot create a file when that file already exists
via Jenkins JIRA by Rick Patterson, 1 year ago
Failed to create a symlink C:\Users\build_user\.jenkins\jobs\Disk_Monitor\lastSuccessful to builds\lastSuccessfulBuild error=183:Cannot create a file when that file already exists
hudson.util.jna.WinIOException: Failed to create a symlink T:\jenkins\jobs\Bootloader\lastStable to builds\lastStableBuild error=1:Incorrect function
at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:93)
at hudson.Util.createSymlink(Util.java:1078)
at hudson.model.Run.createSymlink(Run.java:1812)
at hudson.model.Run.updateSymlinks(Run.java:1794)
at hudson.model.Run.execute(Run.java:1704)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:232)

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.