Am Montag, 8. Juli 2019, 07:27:43 CEST schrieb Boyka Zhu:
> Thanks for the updates.
> I tried below to launch the jar.
> [root@hostname123 tmp]# java -jar
> -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8765
> TESTPLUGIN.jar

Just run agent.jar, not your plugin jar. You don't need TESTPLUGIN.jar on the 
agent class-path.

In case you are running an ssh-node, you can just specify
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8765
for the JVM option on the jenkins node configuration page.

Martin

-- 
There are only two hard problems in Computer Science: cache invalidation, 
naming things, and off-by-one errors.




-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/11085303.2NtngxGh5r%40linux.
For more options, visit https://groups.google.com/d/optout.

Reply via email to