Skip to content
Browse files

[JENKINS-7866] - Fix failed tests displaying as Yellow on "History fo…

…r Test Results" page.

The colours where added in a different order to the data, resulting in failed tests displying as yellow and skipped tests displaying as red.
  • Loading branch information
Chris Arnott committed Dec 5, 2013
1 parent ad1c316 commit 7ef1d37730997a06386670c343782e55fe4c029f
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/src/main/java/hudson/tasks/junit/
@@ -228,8 +228,8 @@ public String generateToolTip(CategoryDataset dataset, int row,
ar.setSeriesPaint(0,ColorPalette.RED); // Failures.
ar.setSeriesPaint(1,ColorPalette.YELLOW); // Skips.
ar.setSeriesPaint(0,ColorPalette.YELLOW); // Skips.
ar.setSeriesPaint(1,ColorPalette.RED); // Failures.
ar.setSeriesPaint(2,ColorPalette.BLUE); // Total.

// crop extra space around the graph

0 comments on commit 7ef1d37

Please sign in to comment.