Curl is just a program that most Unix like OSes happen to have installed by 
default.
There are native binaries available for windows (both 32 
<https://curl.haxx.se/dlwiz/?type=bin&os=Win32&flav=-&ver=*> and 64bit 
<https://curl.haxx.se/dlwiz/?type=bin&os=Win64&flav=-&ver=*&cpu=x86_64>) 
that you could install on your slaves (erm agents) if you already have the 
curl commands written.
So you can call it on windows using the 'bat' pipeline step.

/James



>>>
>>> On Sun, Jan 31, 2016 at 9:20 AM, Scott Richmond <s.t.ri...@gmail.com 
>>> <javascript:>> wrote:
>>>
>>>> I require the ability to HTTP POST data to a remote service via some 
>>>> kind of REST client. This will be done on Windows agents, so the native 
>>>> curl support in sh is not suitable. Is there any way to do this in the 
>>>> groovy script?
>>>>
>>>>
>> -- 
>> 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-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/-2616028336673081203%40unknownmsgid
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/-2616028336673081203%40unknownmsgid?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/0a702bb8-09b9-467f-954a-3458397cc23f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to