From 2156469ba85b7368dfa3bdc31ab98ceae34b22bc Mon Sep 17 00:00:00 2001 From: FlynnWangNewZealand <148028058+FlynnWangNewZealand@users.noreply.github.com> Date: Mon, 14 Oct 2024 20:51:19 +1300 Subject: [PATCH] fix trend colors (fixes #215, via #337) --- .../allure/jenkins/AllureReportBuildAction.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/ru/yandex/qatools/allure/jenkins/AllureReportBuildAction.java b/src/main/java/ru/yandex/qatools/allure/jenkins/AllureReportBuildAction.java index 60ef25e..d57b781 100644 --- a/src/main/java/ru/yandex/qatools/allure/jenkins/AllureReportBuildAction.java +++ b/src/main/java/ru/yandex/qatools/allure/jenkins/AllureReportBuildAction.java @@ -208,11 +208,11 @@ private CategoryDataset buildDataSet() { for (AllureReportBuildAction a = this; a != null; a = a.getPreviousResult()) { final ChartUtil.NumberOnlyBuildLabel columnKey = new ChartUtil.NumberOnlyBuildLabel(a.run); - dsb.add(a.getFailedCount(), "failed", columnKey); - dsb.add(a.getBrokenCount(), "broken", columnKey); - dsb.add(a.getPassedCount(), "passed", columnKey); - dsb.add(a.getSkipCount(), "skipped", columnKey); - dsb.add(a.getUnknownCount(), "unknown", columnKey); + dsb.add(a.getFailedCount(), "a_failed", columnKey); + dsb.add(a.getBrokenCount(), "b_broken", columnKey); + dsb.add(a.getPassedCount(), "c_passed", columnKey); + dsb.add(a.getSkipCount(), "d_skipped", columnKey); + dsb.add(a.getUnknownCount(), "e_unknown", columnKey); } return dsb.build(); }