Skip to content

Commit 5ee1b91

Browse files
committed
[TRTLLM-7169][infra] Fix slurm test failed will show "Submit Test Results"/"Checking if the Node is Online" in test name
Signed-off-by: ZhanruiSunCh <[email protected]>
1 parent 16e9d11 commit 5ee1b91

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jenkins/L0_Test.groovy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,13 @@ def uploadResults(def pipeline, SlurmCluster cluster, String nodeName, String st
125125
"results-${stageName}.tar.gz",
126126
"${UPLOAD_PATH}/test-results/"
127127
)
128-
junit(testResults: "${stageName}/results*.xml")
129128
} else {
130129
println("No results xml to submit")
131130
}
132131
}
132+
if (downloadSucceed) {
133+
junit(testResults: "${stageName}/results*.xml")
134+
}
133135
}
134136
}
135137

0 commit comments

Comments
 (0)