From de2fcb616621e764b46f4133c950128494a8c232 Mon Sep 17 00:00:00 2001 From: Adam Farley Date: Tue, 17 Sep 2024 10:37:28 +0100 Subject: [PATCH] Correcting enable tests value Signed-off-by: Adam Farley --- tools/nightly_build_and_test_stats.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/nightly_build_and_test_stats.groovy b/tools/nightly_build_and_test_stats.groovy index dee6ffdc9..ce9b6ad91 100644 --- a/tools/nightly_build_and_test_stats.groovy +++ b/tools/nightly_build_and_test_stats.groovy @@ -805,7 +805,7 @@ node('worker') { } def testsShouldHaveRun = false - if ( probableBuildUrl != "" && sh(returnStdout: true, script: "wget -q -O - ${trssUrl}/api/getBuildHistory?buildUrl=${probableBuildUrl}").count("\\\"enableTests\\\": true") == 2 ) { + if ( probableBuildUrl != "" && sh(returnStdout: true, script: "wget -q -O - ${trssUrl}/api/getBuildHistory?buildUrl=${probableBuildUrl}").count("\\\"enableTests\\\",\\\"value\\\": true") == 1 ) { testsShouldHaveRun = true } if (reproducibleBuilds.containsKey(featureRelease)) {