Hi, 

Is there a way to read the request body from a triggered job?  I am trying 
to integrate with another service that posts the request parameters as JSON 
in the raw body.  

This is a curl request that generates a similar request:

curl -X POST -H "Content-Type: application/json" -d 
'{"commits":"xyz","payload":"xyz"}' 
http://jenkins-url.com/job/Test/buildWithParameters

Is there a way to access the posted JSON in my build scripts?  (Note that I 
cannot change the format of the request or how the JSON is passed).

Thanks, 

Alex

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to