Browsing jenkins groovy code

Answered

Hi-

 

I'm writing groovy targeting a jenkins server, and it presumes it will have jenkins.model available when it runs. I want to be able to browse the source jenkins.model and look up methods inside of IDEA. I assume there's some jar and source jar I need to add to the classpath, but I can't seem to find any docs on how to do it. Does anybody have any experience with this?

 

Thanks-

    Carter

3 comments
Comment actions Permalink

In IDEA you add the jars in the module dependencies: http://www.jetbrains.com/idea/webhelp/configuring-module-dependencies-and-libraries.html.

If you can't find the jars you need, you may want to contact Jenkins support for help.

1
Comment actions Permalink

That worked. Thanks!

I got the jenkins jar and source jar from - http://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-core

1

Please sign in to leave a comment.