diff --git a/modules/test/jenkins-results-parser/src/main/java/com/liferay/jenkins/results/parser/TopLevelBuild.java b/modules/test/jenkins-results-parser/src/main/java/com/liferay/jenkins/results/parser/TopLevelBuild.java index eb0683009cf0b9..0e109ff47d685b 100644 --- a/modules/test/jenkins-results-parser/src/main/java/com/liferay/jenkins/results/parser/TopLevelBuild.java +++ b/modules/test/jenkins-results-parser/src/main/java/com/liferay/jenkins/results/parser/TopLevelBuild.java @@ -360,7 +360,9 @@ public void update() { _updateDuration = System.currentTimeMillis() - start; - sendBuildMetricsOnModifiedBuilds(); + if (_sendBuildMetrics) { + sendBuildMetricsOnModifiedBuilds(); + } } protected TopLevelBuild(String url) {