Is there a magic directory I can put a jar for it to available to Jenkins? Or - ugh - Do I need to put it in a plugin?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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CABnTgtUAMSe2FkO%3DWSOatWBrVrCaSMnp0BeVbdBH8%2BGsSJ7scQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFRhENWv1U1-2%2BzUgYa418PbDRBsXgf%2BMeGJXGevWnayA%40mail.gmail.com.
We download jars in the job's workspace after checking out Groovy scripts and set the classpath env variable prior to running the Groovy build step. In Freestyle jobs we use the Artifactory plugin to grab these jars and the EnvInject plugin to set the classpath. In our Pipeline jobs we use Groovy scripts to grab them and the Pipeline script to set the classpath. There are probably dozens of other ways to get jars to the workspace.