jenkins_url + /api/json?tree=jobs[name,color]
jenkins_url + /job/${job_name}/api/json?tree=builds[number,status,timestamp,id,result]
Picking the right architecture = Picking the right battles + Managing trade-offs
| export default class Api { | |
| static headers() { | |
| return { | |
| 'Accept': 'application/json', | |
| 'Content-Type': 'application/json', | |
| 'dataType': 'json', | |
| } | |
| } | |
| static get(route) { |
| export default class Api { | |
| static headers() { | |
| return { | |
| 'Accept': 'application/json', | |
| 'Content-Type': 'application/json', | |
| 'dataType': 'json', | |
| } | |
| } | |
| static get(route) { |