Plugins are generally "the" way to add functionality to Jenkins. Without a plugin, it will be difficult to use any jars that you want added to Jenkins.
On Tue, Mar 12, 2019 at 12:03 PM Peter Berghold <[email protected]> wrote: > was kinda hoping I could solve this without the overhead of a module. And > no there isn't as far as I can tell a module that does what I need to do. > > On Tue, Mar 12, 2019 at 2:37 PM Mark Waite <[email protected]> > wrote: > >> It seems like you may be trying to extend the functionality of Jenkins >> with additional Java code that you want to run inside the Jenkins process >> on the Jenkins master, and possibly on one or more agents attached to the >> master. >> >> If so, first be certain that there isn't already a Jenkins plugin that >> solves the specific problem you're trying to solve. The most frequent >> answer to the question, "Do I need to write a plugin to do X?" is "No, >> because a plugin already exists to do X, or to do Y which is very similar >> to X and can be extended or modified to do X". >> >> If a search of available plugins and a discussion of the specific problem >> you're trying to solve does not identify an existing plugin that will meet >> the need, then you probably need to write a plugin. >> >> While revising a Jenkins Plugin Development course prior to Jenkins World >> 2017, I wrote a blog post pointing to many resources on writing Jenkins >> plugins. Refer to >> https://jenkins.io/blog/2017/08/07/intro-to-plugin-development/ for that >> blog post. >> >> Thanks, >> Mark Waite >> >> On Tue, Mar 12, 2019 at 12:10 PM Peter Berghold <[email protected]> >> wrote: >> >>> Following up on a silly question from the other day I have another silly >>> question. Where does Jenkins look for jar files to resolve classes and >>> packages? >>> >>> I've started writing a Java library that I want to access from a >>> pipeline and Jenkins can't seem to find it in spite of it being deployed to >>> /usr/share/java where other Java applications find their jars. >>> >>> Any pointers are appreciated. >>> >>> -- >>> >>> Peter L. Berghold [email protected] >>> >>> http://devops.berghold.net >>> >>> >>> -- >>> 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/CAArvnv2yA6SgjeCyNMmN0v_ecLPCtQgZ2qgu4E2K95B0hd4xqw%40mail.gmail.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/CAArvnv2yA6SgjeCyNMmN0v_ecLPCtQgZ2qgu4E2K95B0hd4xqw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> Thanks! >> Mark Waite >> >> -- >> 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/CAO49JtHjZY_KjBn2k_0L0Knf1Ri-PNq_D9yUQPmSkLkhYNhyYQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHjZY_KjBn2k_0L0Knf1Ri-PNq_D9yUQPmSkLkhYNhyYQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > > Peter L. Berghold [email protected] > > http://devops.berghold.net > > > -- > 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/CAArvnv0w5vpbhYch1KTinesrhcSNtgfpxGDcN3B68HaZwaoh4g%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAArvnv0w5vpbhYch1KTinesrhcSNtgfpxGDcN3B68HaZwaoh4g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Website: http://earl-of-code.com -- 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/CAPiUgVfy-%2BPsb4MTaNauz32%3DxfKhRe%2B_j%2B21GKJkTv89YwBLrw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
