-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Windows, Java 7 and 8, Jenkins 1.609.1
Simple steps:
- Download Jenkins.war (1.609.1)
- java -jar jenkins.war (java 1.7 and 1.8)
- launch a build
Appear this error:
ln builds\lastSuccessfulBuild C:\Users\username\.jenkins\jobs\dir\lastSuccessful failed java.io.IOException: java.lang.reflect.InvocationTargetException at hudson.Util.createSymlinkJava7(Util.java:1255) at hudson.Util.createSymlink(Util.java:1142) at hudson.model.Run.createSymlink(Run.java:1845) at hudson.model.Run.updateSymlinks(Run.java:1826) at hudson.model.Run.execute(Run.java:1739) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.Util.createSymlinkJava7(Util.java:1226) ... 7 more Caused by: java.lang.InternalError: Should not get here at sun.nio.fs.WindowsNativeDispatcher.CreateSymbolicLink0(Native Method) at sun.nio.fs.WindowsNativeDispatcher.CreateSymbolicLink(WindowsNativeDispatcher.java:890) at sun.nio.fs.WindowsFileSystemProvider.createSymbolicLink(WindowsFileSystemProvider.java:570) at java.nio.file.Files.createSymbolicLink(Files.java:996) ... 12 more ln builds\lastStableBuild C:\Users\username\.jenkins\jobs\dir\lastStable failed java.io.IOException: java.lang.reflect.InvocationTargetException at hudson.Util.createSymlinkJava7(Util.java:1255) at hudson.Util.createSymlink(Util.java:1142) at hudson.model.Run.createSymlink(Run.java:1845) at hudson.model.Run.updateSymlinks(Run.java:1827) at hudson.model.Run.execute(Run.java:1739) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.Util.createSymlinkJava7(Util.java:1226) ... 7 more Caused by: java.lang.InternalError: Should not get here at sun.nio.fs.WindowsNativeDispatcher.CreateSymbolicLink0(Native Method) at sun.nio.fs.WindowsNativeDispatcher.CreateSymbolicLink(WindowsNativeDispatcher.java:890) at sun.nio.fs.WindowsFileSystemProvider.createSymbolicLink(WindowsFileSystemProvider.java:570) at java.nio.file.Files.createSymbolicLink(Files.java:996) ... 12 more Building in workspace C:\Users\username\.jenkins\jobs\dir\workspace [workspace] $ cmd /c call C:\Users\username\AppData\Local\Temp\hudson4368696166847241448.bat C:\Users\username\.jenkins\jobs\dir\workspace>echo off Hello world from jenkins Volume in drive C is OSDISK Volume Serial Number is 7CBA-8523 Directory of C:\Users\username\.jenkins\jobs\dir\workspace 23/06/2015 18:45 <DIR> . 23/06/2015 18:45 <DIR> .. 0 File(s) 0 bytes 2 Dir(s) 57.777.426.432 bytes free Finished: SUCCESS
The job finished successfully but always show this error in the console.