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

Failing to save build records to UNC path on Windows 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core
    • None
    • Windows 7, Ver 2.60.3, JAVA 1.8.0

      Hi,

      I can't figure out why jenkins is failing to right to a UNC path to generate the build records.

      Keeps failing with the error:

      No such file:
      file path to server share\buildjobname\62\log

       

      The share is fine, it has been set to allow access for anyone.

       

      Log shows following:

      Failed to save build record
      java.io.IOException: The system cannot find the path specified

      {{at java.io.WinNTFileSystem.createFileExclusively(Native Method) }}

      {{at java.io.File.createTempFile(Unknown Source) }}

      {{at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:68) }}
      Caused: java.io.IOException: Failed to create a temporary file in \\SERVER-SHARE\SoftwareGroup\private\Builds\JenkinsBuilds\CleanupJenkinsWorkspace\60
      {{at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:70) }}

      {{at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:57) }}

      {{at hudson.XmlFile.write(XmlFile.java:168) }}

      {{at hudson.model.Run.save(Run.java:1923) }}

      {{at hudson.model.Run.execute(Run.java:1792) }}

      {{at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) }}

      {{at hudson.model.ResourceController.execute(ResourceController.java:97) }}

      at hudson.model.Executor.run(Executor.java:405)

       

      Any help would be appreciated.

      Thanks

            Unassigned Unassigned
            osanders Oliver
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: