I am building an front-end application for my jenkins server. The objective is to show build history of the job along with status { success,failed ,aborted etc:).
"buildable" : true,
"builds" : [
{
"number" : 32,
"url" : "http://<jenkins server>>/jenkins/view/<job name>/job/validation_xxxx_cmdd/32/"
},
{
"number" : 31,
"url" : "http://<jenkins server>/jenkins/view/<job name>/job/validation_xxxx_cmd/31/"
},]
along with other info , I also require status of each build along with number and url , how can I achieve this. Although i can get Individual build result if I go to http://<jenkins server>/jenkins/view/<job name>/job/validation_xxxx_cmd/31/api/json . i get result as Success or failure etc.
But I need at once all build url , number , status , so that I can use this info to show in my front end.
Thanks ,
Bhupendra