Browsing jenkins groovy code

已回答

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

0

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
Avatar
Permanently deleted user

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

请先登录再写评论。