I finally managed to run Jenkins with a remote debugger using intellij. cd war; mvnDebug jenkins-dev:run
However I am a little puzzled. I used (remote) debuggers in the past and usually the debugger presents the source and offers the user an opportunity to set breakpoints, watch-points and so on. I see nothing like this when following the instructions. The app just ran and was able to see the jenkins start page via the browser. How do I see the source and set breakpoints just before the app runs? After all it is just a java application. On Monday, December 31, 2018 at 9:52:22 AM UTC-8, Gerry Storm wrote: > > I have tried to follow instructions in > https://wiki.jenkins.io/display/JENKINS/Building+Jenkins: > > // check out the workspace > $ git clone https://github.com/jenkinsci/jenkins.git > // Download dependencies and build with Maven > // Note: mvn install may be a prerequisite for other mvn targets > $ cd jenkins > $ mvn -Plight-test install > > All went fine. > > After that I followed instructions in > https://wiki.jenkins.io/display/JENKINS/Setting+up+Eclipse+to+build+Jenkins. > > > I tried several times and Eclipse ALWAYS finds errors after it imports the > projects. (see attached screenshot). > I am a newbie so maybe the instructions imply stuff I am not familiar with. > > My goals are: > > 1. Build Jenkins from source in Eclipse > 2. Run it under a debugger so that I can make myself familiar with the > flow. > > > Please help. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/08ead842-fe10-4708-8c89-5296e272e7d6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
