Jars are the Jenkins ones, or plugins if that's your case.
Simplest way can be to create a fake plugin, then import it in your ide to
be able to use the class browsing facilities. For example m2e in eclipse
will help you will with the pom parsing and library import.

Cheers
Le 7 juin 2015 5:47 PM, "Gilad Baruchian" <[email protected]> a écrit :

> I would love to use the API, the problem is that i don't have the jars for
> that and i couldn't find them anywhere.
>
> On Thursday, May 21, 2015 at 10:12:04 AM UTC+3, niraj nandane wrote:
>>
>> You can start with using jenkins api first.
>>
>> On Monday, May 18, 2015 at 2:24:36 PM UTC+5:30, Gilad Baruchian wrote:
>>>
>>> I have groovy scripts that work in my jenkins instance.
>>> I would like to be able to also run them from IntelliJ, but it seems
>>> like i need the jenkins jars for the imports to work (for example import
>>> hudson.model.*).
>>>
>>> 1. How can I get all the Jars I need to run jenkins groovy code?
>>> 2. Do you know of any good tutorials to learn about using the jenkins
>>> libraries ?
>>>
>>> Thanks.
>>>
>>  --
> 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/c8b89b24-7d27-4e94-b77d-9d2b1d3db092%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/c8b89b24-7d27-4e94-b77d-9d2b1d3db092%40googlegroups.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 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/CANWgJS7MjC9w5osGbhy34gR-LGYEoXOrwmbXZcj0TeXCkrBrhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to