void (@NotNull String key, @NotNull String value) { // As TeamCity doesn't show statistic I report to stdout I will report it twice in order to be able to see it in logs System.out.println("Report statistics key = " + key + " value = " + value); System.out.println("##teamcity[buildStatisticValue key='" + key + "' value='" + value + "']"); }