jenkins_url
+ /api/json?tree=jobs[name,color]
jenkins_url
+ /job/${job_name}/api/json?tree=builds[number,status,timestamp,id,result]
- all build info:
jenkins_url
+ /job/${job_name}/lastBuild/api/json
- build progress:
jenkins_url
+ /job/${job_name}/lastBuild/api/json?tree=result,timestamp,estimatedDuration
timestamp = start time
estimatedDuration = duration
Hi When I try to access
jenkins_url + /job/${job_name}/lastBuild/api/json
, I am getting Server returned HTTP response code: 403 for URL error.. Can someone help me.