How to catch curl response in Jenkins Pipeline?
In this blog post, I explain why you may want to use
curl command in your Jenkinsfile, how to catch
curl response and store it in a variable, as well as how to read HTTP response status code and extract some data from the JSON document. Enjoy!