Get build information from jenkins using rest api Get build information from jenkins using rest api jenkins jenkins

Get build information from jenkins using rest api


You could read full guide in:

http://YOUR_JENKINS:8080/job/YOUR_JOB/api/

The build sumary in XML format:

http://YOUR_JENKINS:8080/job/YOUR_JOB/api/xml

Retrieve the name of the first 10 builds

http://YOUR_JENKINS:8080/job/YOUR_JOB/api/xml?%20tree=jobs[name]{0,10}