ci: set test step in ci when tdgpt file changed
This commit is contained in:
parent
d390aec7ce
commit
9248276ff3
12
Jenkinsfile2
12
Jenkinsfile2
|
@ -478,12 +478,8 @@ pipeline {
|
|||
expression { file_only_tdgpt_change_except != '' }
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
timeout(time: 126, unit: 'MINUTES'){
|
||||
if (file_no_doc_changed =~ /forecastoperator.c|anomalywindowoperator.c/) {
|
||||
echo "skip windows test because of tdgpt codes changed"
|
||||
} else {
|
||||
pre_test_win()
|
||||
pre_test_build_win()
|
||||
run_win_ctest()
|
||||
|
@ -492,8 +488,6 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('mac test') {
|
||||
agent{label " Mac_catalina "}
|
||||
when {
|
||||
|
@ -501,20 +495,14 @@ pipeline {
|
|||
expression { file_only_tdgpt_change_except != '' }
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
timeout(time: 60, unit: 'MINUTES'){
|
||||
if (file_no_doc_changed =~ /forecastoperator.c|anomalywindowoperator.c/) {
|
||||
echo "skip mac test because of tdgpt codes changed"
|
||||
} else {
|
||||
pre_test()
|
||||
pre_test_build_mac()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('linux test') {
|
||||
agent{label "slave1_47 || slave1_48 || slave1_49 || slave1_50 || slave1_52 || slave1_59 || slave1_63 || worker03 || slave215 || slave217 || slave219 "}
|
||||
options { skipDefaultCheckout() }
|
||||
|
|
Loading…
Reference in New Issue