AFAIK it's not possible. I tried it with both Scriptler and the Script 
Console (/script URL) and got an "unable to resolve class 
groovyx.net.http.HTTPBuilder" error (HTTPBuilder is the class I imported 
via Grab).

If I try to run it using the "groovysh" option of jenkins-cli, I get: 
java.lang.NoClassDefFoundError: 
org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor

I guess Jenkins' Groovy doesn't include the libraries necessary to use 
Grab/Grape.

Please let us know if you manage to make it work.

Regards,
Daniel Serodio

On Wednesday, September 28, 2016 at 3:01:28 PM UTC-3, Guy Matz wrote:
>
> Hello!  Does anyone know if it's possible to grab dependencies within a 
> scriptler script?  Any advice out there?
>
> 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/9f462d9c-c304-4b75-9d3a-944248f98305%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to