I use eclipse but it should be very similar as outlined at https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial#Plugintutorial-DebuggingaPlugin

the bits that is missing is in eclipse I then "attach to a process" and add the source location from my local workspace...

/James

On 05/12/2014 15:38, Ivo Bellin Salarin wrote:
Well,

I would try to setup a debug environment for a jenkins plugin (git-client-plugin) on windows 8.1.
But I'm failing at it, and I don't know how to proceed.

So far: I have installed netbeans 8.0.1 and the sources of git-client-plugin from github. I have built the sources using netbeans/maven, and I am able to run jenkins using mvn hpi:run.

But:
1) NetBeans doesn't propose me to debug the plugin. The debug button is grayed out. 2) Git-client-plugin is part of a chain of plugins. The final user of this plugin chain is git-plugin. If I deploy git-plugin and all of its dependencies, I get other exceptions, like "cycle detected (git-client -> git-server -> git-client)" 3) deleting git-server, I get an error concerning the absence of git-client 1.11.1...

Well, do somebody have noob instructions about how to setup a debug environment for git-client-plugin?

thanks in advance,
Ivo

--
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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF9bU09M4%2BXb7Ox1sYhnCOX1iJBis6O2uJx%2BBkKT%2Ba9jbQ%40mail.gmail.com <https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF9bU09M4%2BXb7Ox1sYhnCOX1iJBis6O2uJx%2BBkKT%2Ba9jbQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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/5481DE18.2000309%40teilo.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to