mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-02-04 10:11:47 +08:00
[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:
parent
b7767f682f
commit
a56aaa585e
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user