I would like to attach the profiler to a remote jenkins worker machine.
Our jenkins setup is such that we can only ssh into the master node, and only from there access the slave nodes which are actually running the JVM we wish to attach to.
I am able to reach the profiler via HTTP through my browser (with the help of the Chrome FoxyProxy plugin), after setting up a SOCKS proxy via a command like this:
Code: Select all
ssh -L 8157:localhost:8002 user@jenkins-master -t ssh -D 8002 user@jenkins-slave
Earlier on these forums someone suggested using the -DsocksProxyHost and -DsocksProxyPort JVM options, I attempted to add these to the JVM options YourKit client is launched with by editing
Code: Select all
/Applications/YourKit-Java-Profiler-2016.02.app/Contents/Info.plist
Any suggestions??
Thanks,
Jeff