ci: set test step in ci when tdgpt file changed
This commit is contained in:
parent
601d2f1c08
commit
041bd8a8da
|
@ -471,6 +471,10 @@ pipeline {
|
||||||
WIN_COMMUNITY_ROOT="C:\\workspace\\${env.EXECUTOR_NUMBER}\\TDinternal\\community"
|
WIN_COMMUNITY_ROOT="C:\\workspace\\${env.EXECUTOR_NUMBER}\\TDinternal\\community"
|
||||||
WIN_SYSTEM_TEST_ROOT="C:\\workspace\\${env.EXECUTOR_NUMBER}\\TDinternal\\community\\tests\\system-test"
|
WIN_SYSTEM_TEST_ROOT="C:\\workspace\\${env.EXECUTOR_NUMBER}\\TDinternal\\community\\tests\\system-test"
|
||||||
}
|
}
|
||||||
|
when {
|
||||||
|
beforeAgent true
|
||||||
|
expression { file_only_tdgpt_change_except != '' }
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
|
@ -490,6 +494,10 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('mac test') {
|
stage('mac test') {
|
||||||
agent{label " Mac_catalina "}
|
agent{label " Mac_catalina "}
|
||||||
|
when {
|
||||||
|
beforeAgent true
|
||||||
|
expression { file_only_tdgpt_change_except != '' }
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
|
|
Loading…
Reference in New Issue