Skip to content

Instantly share code, notes, and snippets.

View brianlucas's full-sized avatar

Brian Lucas brianlucas

  • Optimizely
  • San Francisco, CA
View GitHub Profile
@kalenwatermeyer
kalenwatermeyer / JenkinsBuildStatusHistory.md
Last active March 10, 2020 16:03
Jenkins - Build status history for multiple jobs

Jenkins Build Status History - screenshot

Description

The Jenkins Build Status History widget periodically fetches a snapshot of build status information for a specified list of jobs on a Jenkins CI server.

As time progresses, new build status samples are added to the right, while older samples are removed from the left. This view allows you to quickly see the health of your jobs as well as any time trends.

Calls are made to the Jenkins API to retrieve the name and color properties of listed jobs in a JSON form. The color of a given job represents its current build status (i.e. "blue" => successful build, "red" => failing build and so on).