From 5e0e9c71b3e5b0349d214ded77be6f6713d5b96f Mon Sep 17 00:00:00 2001 From: Andrew Leonard <31470007+andrew-m-leonard@users.noreply.github.com> Date: Mon, 3 Jul 2023 16:07:12 +0100 Subject: [PATCH] Exclude evaluation- from daily build status (#745) Signed-off-by: Andrew Leonard --- tools/nightly_build_and_test_stats.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/nightly_build_and_test_stats.groovy b/tools/nightly_build_and_test_stats.groovy index e47f750bb..3a778dc07 100644 --- a/tools/nightly_build_and_test_stats.groovy +++ b/tools/nightly_build_and_test_stats.groovy @@ -74,8 +74,8 @@ node('worker') { def trssBuildNames = sh(returnStdout: true, script: "wget -q -O - ${trssUrl}/api/getTopLevelBuildNames?type=Test") def buildNamesJson = new JsonSlurper().parseText(trssBuildNames) buildNamesJson.each { build -> - // Is it a build Pipeline? - if (build._id.buildName.contains('-pipeline')) { + // Is it a build Pipeline? Excluding "evaluation-" pipelines + if (build._id.buildName.contains('-pipeline') && !build._id.buildName.startsWith('evaluation-')) { echo "Pipeline ${build._id.buildName}" def pipelineName = build._id.buildName