ci: set test step in ci when tdgpt file changed

This commit is contained in:
chenhaoran 2024-11-25 20:07:56 +08:00
parent 601d2f1c08
commit 041bd8a8da
1 changed files with 8 additions and 0 deletions

View File

@ -471,6 +471,10 @@ pipeline {
WIN_COMMUNITY_ROOT="C:\\workspace\\${env.EXECUTOR_NUMBER}\\TDinternal\\community"
WIN_SYSTEM_TEST_ROOT="C:\\workspace\\${env.EXECUTOR_NUMBER}\\TDinternal\\community\\tests\\system-test"
}
when {
beforeAgent true
expression { file_only_tdgpt_change_except != '' }
}
steps {
script {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
@ -490,6 +494,10 @@ pipeline {
}
stage('mac test') {
agent{label " Mac_catalina "}
when {
beforeAgent true
expression { file_only_tdgpt_change_except != '' }
}
steps {
script {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {