You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Hello! Does anyone know if it's possible to grab dependencies within a scriptler script? Any advice out there?
Thanks!!
Daniel Serodio
unread,
Sep 29, 2016, 2:33:51 PM9/29/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
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.