Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17611

WinIOException: Failed to create a symlink to builds/lastStableBuild error=183:null

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • core
    • Win64 + Cygwin

      This is on Jenkins ver. 1.510

      ...
      ln builds/lastStableBuild C:\Jenkins\jobs\JobName\lastStable failed
      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)
      ...
      

      This exception occures at the end of each build. It does NOT affect the build outcome, e.g. Success or Failure.
      This exception occures even if there are no spaces in the path

          [JENKINS-17611] WinIOException: Failed to create a symlink to builds/lastStableBuild error=183:null

          Mark Waite added a comment -

          Refer to JENKINS-17681 for a possible duplicate report

          Mark Waite added a comment - Refer to JENKINS-17681 for a possible duplicate report

          Daniel Beck added a comment -

          Does this issue still occur on recent Jenkins versions? A few fixes related to symlinks happened in the mean time, so it'd be good to know whether this still occurs.

          Daniel Beck added a comment - Does this issue still occur on recent Jenkins versions? A few fixes related to symlinks happened in the mean time, so it'd be good to know whether this still occurs.

          Petar Petrov added a comment -

          Didn't see it recently. Using 1.567 now.

          Petar Petrov added a comment - Didn't see it recently. Using 1.567 now.

            Unassigned Unassigned
            pkrasimirov Petar Petrov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: