From e2f6bed2b61a3855a140f54b8ac0a90b18dd64db Mon Sep 17 00:00:00 2001 From: "Chang Liu (Enterprise Products)" <9713593+chang-l@users.noreply.github.com> Date: Mon, 1 Dec 2025 11:25:59 -0800 Subject: [PATCH] Fix CI config for single-node cases Signed-off-by: Chang Liu (Enterprise Products) <9713593+chang-l@users.noreply.github.com> --- jenkins/L0_Test.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/L0_Test.groovy b/jenkins/L0_Test.groovy index 6192550174d8..1c1ec4a31307 100644 --- a/jenkins/L0_Test.groovy +++ b/jenkins/L0_Test.groovy @@ -1694,12 +1694,12 @@ def getMakoOpts(getMakoScript, makoArgs=[]) { def parseMultiNodeTaskConfigFromStageName(String stageName) { def taskConfig = null - def matcher = (stageName =~ /([^-]+)-(\d+)_GPUs-(\d+)_Nodes/) + def matcher = (stageName =~ /([^-]+)-(\d+)_GPUs(?:-(\d+)_Nodes)?/) if (matcher.find()) { taskConfig = [ gpu: "${matcher.group(1)}", system_gpu_count: "${matcher.group(2)}", - node_count: "${matcher.group(3)}" // "node_count" might not be used currently + node_count: matcher.group(3) ?: "1" // Default to 1 if _Nodes not present ] } return taskConfig