Does someone solve this issue ? I feel like requestBody isn't working at 
all. However if I'm making a "basic" POST request with query like 
"http://localhost:5000/api?id=1"; it does work..

Le lundi 30 janvier 2017 22:04:13 UTC+1, Christopher Burke a écrit :
>
> Hey everyone
>
>    Part of my build pipeline requires that I publish a zip file to a 
> server, so I'm trying the following:
>
> response = httpRequest httpMode: 'POST', contentType: 
> 'APPLICATION_OCTETSTREAM', body:"...", url: "${urlForPublish}"
>
>    I'm not sure how to specify the body correctly, though. Could anyone 
> point me to an example or offer any suggestions? In the meantime, I've 
> worked around this by using curl, but it seems like using the httpRequest 
> step would be preferable.
>
>    Thanks,
>
>    --- Chris
>
>
>

-- 
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/cca3628e-24fc-415f-81a1-9794eca62d77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to