Hi,

How can we Import a java jar on jenkins in order to allow a Groovy Script 
part of a Job DSL to use java classes packaged within the jar file ?

Example of groovy script using the Java class Hello and method "message" 

package groovy
import dev.snowdrop.jenkins.Hello;
println new Hello().message();

Cheers 

Charles

-- 
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/d28daa31-1da7-423c-ab7c-f14820f985ecn%40googlegroups.com.

Reply via email to