Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Commits Lead to Broken Builds shows the ratio of commits that led to broken builds compared to the total amount of commits at a specific date. Default time depth is 1 month up to the current date. 

How metric helps

Commits Lead to Broken Builds It indicates the effectiveness of a code quality quards. The greater this percentage the worse. Metric may help identify build problems as they occur, pointing the source of the error.

...

Chart shows % of commits which led to broken builds - Axis Y per job/pipeline day by day - Axis X. Legend placed on the top of the chart delivers gives the latest value for each configured job/pipeline.

...

Ncommit_all - number of commits in all builds

Example for a particular date on a timeline: 

Given: total # of all builds on that day5
Given: # of failed builds2
Given: # of commits in all builds15
Given: # of commits in failed builds3
Calculated: Commits led to broken builds %
3 / 15 = 0.2 = 20% = Amber

...

Data for the metric can be retrieved from Jenkins/GITLab GitLab CI.