You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@groovy.apache.org by Guy Matz <gu...@gmail.com> on 2016/04/22 15:45:29 UTC
Garb'ing libraries in jenkins script console
Anyone know how to get this - or an equivalent - to work in jenkins script
console?
@Grab(group='org.codehaus.groovy.modules.http-builder',
module='http-builder', version='0.7.2')
import groovyx.net.http.*
Thanks!
Re: Garb'ing libraries in jenkins script console
Posted by Guy Matz <gu...@gmail.com>.
Right! So what do I do!? :-(
On Fri, Apr 22, 2016 at 9:49 AM, Andrew Bayer <an...@gmail.com>
wrote:
> fwiw, @Grab won't work from the Jenkins script console.
>
> A.
>
> On Fri, Apr 22, 2016 at 3:48 PM, Robert Stagner <re...@gmail.com>
> wrote:
>
>> I believe this is what you want
>>
>> @Grab(group='org.codehaus.groovy.modules.http-builder',
>> module='http-builder', version='0.7.1')
>>
>> version = 0.7.1
>>
>> I do not think there is a 0.7.2 version
>>
>> On Fri, Apr 22, 2016 at 6:46 AM Guy Matz <gu...@gmail.com> wrote:
>>
>>> Sorry. Wrong mailing list
>>>
>>> On Fri, Apr 22, 2016 at 9:45 AM, Guy Matz <gu...@gmail.com> wrote:
>>>
>>>> Anyone know how to get this - or an equivalent - to work in jenkins
>>>> script console?
>>>>
>>>> @Grab(group='org.codehaus.groovy.modules.http-builder',
>>>> module='http-builder', version='0.7.2')
>>>> import groovyx.net.http.*
>>>>
>>>> Thanks!
>>>>
>>>
>>>
>
Re: Garb'ing libraries in jenkins script console
Posted by Andrew Bayer <an...@gmail.com>.
fwiw, @Grab won't work from the Jenkins script console.
A.
On Fri, Apr 22, 2016 at 3:48 PM, Robert Stagner <re...@gmail.com> wrote:
> I believe this is what you want
>
> @Grab(group='org.codehaus.groovy.modules.http-builder',
> module='http-builder', version='0.7.1')
>
> version = 0.7.1
>
> I do not think there is a 0.7.2 version
>
> On Fri, Apr 22, 2016 at 6:46 AM Guy Matz <gu...@gmail.com> wrote:
>
>> Sorry. Wrong mailing list
>>
>> On Fri, Apr 22, 2016 at 9:45 AM, Guy Matz <gu...@gmail.com> wrote:
>>
>>> Anyone know how to get this - or an equivalent - to work in jenkins
>>> script console?
>>>
>>> @Grab(group='org.codehaus.groovy.modules.http-builder',
>>> module='http-builder', version='0.7.2')
>>> import groovyx.net.http.*
>>>
>>> Thanks!
>>>
>>
>>
Re: Garb'ing libraries in jenkins script console
Posted by Robert Stagner <re...@gmail.com>.
I believe this is what you want
@Grab(group='org.codehaus.groovy.modules.http-builder',
module='http-builder', version='0.7.1')
version = 0.7.1
I do not think there is a 0.7.2 version
On Fri, Apr 22, 2016 at 6:46 AM Guy Matz <gu...@gmail.com> wrote:
> Sorry. Wrong mailing list
>
> On Fri, Apr 22, 2016 at 9:45 AM, Guy Matz <gu...@gmail.com> wrote:
>
>> Anyone know how to get this - or an equivalent - to work in jenkins
>> script console?
>>
>> @Grab(group='org.codehaus.groovy.modules.http-builder',
>> module='http-builder', version='0.7.2')
>> import groovyx.net.http.*
>>
>> Thanks!
>>
>
>
Re: Garb'ing libraries in jenkins script console
Posted by Guy Matz <gu...@gmail.com>.
Sorry. Wrong mailing list
On Fri, Apr 22, 2016 at 9:45 AM, Guy Matz <gu...@gmail.com> wrote:
> Anyone know how to get this - or an equivalent - to work in jenkins script
> console?
>
> @Grab(group='org.codehaus.groovy.modules.http-builder',
> module='http-builder', version='0.7.2')
> import groovyx.net.http.*
>
> Thanks!
>