Skip to content

hopefully fix Windows git hangs with RemoteClassLoader.force #232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion attributes/worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
jvmBin = "/cygdrive/c#{jvmHome}/bin"

# 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)
jvmDirOptions = "-Duser.home=#{jenkinsHome.gsub(/\\/,'/')} -Djava.io.tmpdir=#{jenkinsTmp}" # jenkins doesn't quote properly
jvmDirOptions = "-Duser.home=#{jenkinsHome.gsub(/\\/,'/')} -Djava.io.tmpdir=#{jenkinsTmp} -Dhudson.remoting.RemoteClassLoader.force=com.sun.jna.Native" # jenkins doesn't quote properly
Copy link
Member

@retronym retronym Jun 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we can't find the right spot for this in the recipe, we could resort to putting it in the global _JAVA_OPTIONS on the worker.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adriaan thinks he got the change to go through. running chef-client on jenkins-master wasn't enough


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