Hi,

reading through https://www.jenkins.io/doc/book/pipeline/shared-libraries/
I get the impression, that @Grab is bound to a (possibly local) Maven 
repository. Which is alright, if I am using jar files from Maven central, 
or something like that.

In my case, I'd much rather do something like

  @Grab('lib/myPrivate.jar')

Is that possible, or must I impose the shared library users to somehow 
create a local Maven repository?

And, while we're at it: Is it possible, to distribute the shared library as 
a zip file, or whatever, rather than as a Git repository?


Thanks,

Jochen

P.S: In case, you are asking: I anicipate, that a lot of shared library 
consumers will be in a secure environment, with no access to external 
repositories.



-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/46c11068-51f3-48de-a0c5-11e9b926429dn%40googlegroups.com.

Reply via email to