Merge pull request #9212 from taosdata/CI/3.0

fix some error in Jenkinsfile
This commit is contained in:
Shengliang Guan 2021-12-20 16:19:11 +08:00 committed by GitHub
commit 7e77902cee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -42,7 +42,6 @@ def pre_test(){
killall -9 gdb || echo "no gdb running"
killall -9 python3.8 || echo "no python program running"
cd ${WKC}
git reset --hard HEAD~10 >/dev/null
'''
script {
if (env.CHANGE_TARGET == 'master') {
@ -77,6 +76,7 @@ def pre_test(){
git checkout -qf FETCH_HEAD
export TZ=Asia/Harbin
date
rm -rf debug
mkdir debug
cd debug
cmake .. > /dev/null