[TRTLLM-10839][infra] Set rerun report stage UNSTABLE and pipeline SUCCESS in post-merge when there are passed rerun tests (#11210)

Signed-off-by: Yiqing Yan <yiqingy@nvidia.com>
This commit is contained in:
Yiqing Yan 2026-02-03 15:44:15 +08:00 committed by GitHub
parent b7767f682f
commit a56aaa585e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -916,19 +916,10 @@ def collectTestResults(pipeline, testFilter)
"""
trtllm_utils.uploadArtifacts("rerun/rerun_report.html", "${UPLOAD_PATH}/test-results/")
echo "Rerun report: https://urm.nvidia.com/artifactory/${UPLOAD_PATH}/test-results/rerun_report.html"
def isOfficialPostMergeJob = (env.JOB_NAME ==~ /.*PostMerge.*/)
if (env.alternativeTRT || isOfficialPostMergeJob) {
catchError(
buildResult: 'FAILURE',
stageResult: 'FAILURE') {
error "Some failed tests were reruned, please check the rerun report."
}
} else {
catchError(
buildResult: 'SUCCESS',
stageResult: 'UNSTABLE') {
error "Some failed tests were reruned, please check the rerun report."
}
catchError(
buildResult: 'SUCCESS',
stageResult: 'UNSTABLE') {
error "Some failed tests were reruned, please check the rerun report."
}
} // Rerun report stage
try {