ci: set test step in ci when tdgpt file changed

This commit is contained in:
chenhaoran 2024-11-25 20:58:21 +08:00
parent 50aa05cfcc
commit d390aec7ce
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ def check_docs(){
file_only_tdgpt_change_except = sh (
script: '''
echo ${file_no_doc_changed} |grep -v "forecastoperator.c\\|anomalywindowoperator.c" || :
cd ${WKC}
git --no-pager diff --name-only FETCH_HEAD `git merge-base FETCH_HEAD ${CHANGE_TARGET}`|grep -v "^docs/en/"|grep -v "^docs/zh/"|grep -v ".md$" | grep -v "forecastoperator.c\\|anomalywindowoperator.c" || :
''',
returnStdout: true
).trim()