[TRTLLM-9579][infra] Set mergeWaiveList stage UNSTABLE when there is any issue (#9692)

Signed-off-by: Yiqing Yan <yiqingy@nvidia.com>
This commit is contained in:
Yiqing Yan 2025-12-05 10:18:31 +08:00 committed by GitHub
parent 5d6edc3944
commit e834f04238
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -371,8 +371,11 @@ def mergeWaiveList(pipeline, globalVars)
} catch (InterruptedException e) {
throw e
} catch (Exception e) {
echo "Merge test waive list failed. Error: ${e.toString()}"
echo "Fallback to use the default test waive list from the PR"
catchError(
buildResult: 'SUCCESS',
stageResult: 'UNSTABLE') {
error "Merge test waive list failed. Fallback to use the default test waive list from the PR. Error: ${e.toString()}"
}
}
}

View File

@ -2207,6 +2207,8 @@ ${reusedTestsContent}
REUSED_TESTS_EOF
""")
echo "Appended ${reusedTests.size()} reused tests to ${waivesTxt}"
} else {
echo "No reused tests found"
}
} catch (InterruptedException e) {
throw e