Skip to content

Commit adb4149

Browse files
committed
hopefully fix Windows git hangs with RemoteClassLoader.force
hopefully fixes scala#203, see remarks there for details
1 parent 14d0c70 commit adb4149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

attributes/worker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
jvmBin = "/cygdrive/c#{jvmHome}/bin"
2020

2121
# deal with weirdness in java using registry keys to find the homedir (c:\users\jenkins), instead of the cygin home (/home/jenkins or y:\jenkins)
22-
jvmDirOptions = "-Duser.home=#{jenkinsHome.gsub(/\\/,'/')} -Djava.io.tmpdir=#{jenkinsTmp}" # jenkins doesn't quote properly
22+
jvmDirOptions = "-Duser.home=#{jenkinsHome.gsub(/\\/,'/')} -Djava.io.tmpdir=#{jenkinsTmp} -Dhudson.remoting.RemoteClassLoader.force=com.sun.jna.Native" # jenkins doesn't quote properly
2323

2424
# If node name contains "-publish", configure it with necessary secrets/package to roll & publish a release
2525
publisher = (node.name =~ /.*-publish.*/) != nil # TODO: use tag?

0 commit comments

Comments
 (0)