I'm here grovelling for some help. I have a simple Groovy script that needs to import the RESTClient like so:
*@GrabResolver(name='myrepo', root='http://nexus.mycompany.com/nexus/content/groups/myrepo/ <http://nexus.mycompany.com/nexus/content/groups/myrepo/>')* *@Grab('org.codehaus.groovy.modules.http-builder:http-builder:0.7.1')* *import groovyx.net.http.RESTClient* *println "Create RESTClient"* I've tried running as a "Groovy System Script", "Groovy Script" and directly in the Scriptler script manager. If I Remove the @GrabResolver/@Grab directives, it runs but obviously I can't use RESTClient. If I include the @Grab and other directives, it just hangs. I can copy the exact command and run it from the shell and it works fine. It just doesn't work when Jenkins runs it. What am I doing wrong? This should NOT be this difficult. Thanks! -- Jeff Vincent See my LinkedIn profile at: http://www.linkedin.com/in/rjeffreyvincent -- 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/CAPJK9%3DLUw5KMXFeg7V45bEnWuZ7X8Sz8CRRV_qkpPTLJ%3DHeFPA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.