You can retrieve chart ids by sending a GET request to http://jenkins:8080/plugin/global-build-stats/api/json?depth=2
Here, you will gather something like this :

{
  "buildStatConfigs":[ {
    "averageBuildTimeShown":false,
    "buildFilters": {
      "abortedShown":true,
      "failuresShown":true,
      "jobFilter":"ALL",
      "launcherFilter":"ALL",
      "nodeFilter":"ALL",
      "notBuildShown":false,
      "successShown":true,
      "unstablesShown":true
    },
    "buildStatHeight":600,
    "buildStatTitle":"Distribution over time",
    "buildStatWidth":800,
    "buildStatusesShown":true,
    "dimensionsShown":["BUILD_COUNTER","BUILD_TOTAL_DURATION"],
    "historicLength":48,
    "historicScale":"HOURLY",
    "id":"HERE THE ID",
    "totalBuildTimeShown":true,
    "yAxisChartType":"COUNT"
  } ]
}

When I talked about the "content file", It is the size displayed in the chrome dev tool network tab : in your screenshot, we can see the JSON file is 5,90Mb which is very big compared to my JSON file.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to