Merge pull request #4740 from taosdata/test/jenkins

fix some errors
This commit is contained in:
huili 2020-12-28 11:19:03 +08:00 committed by GitHub
commit ee391dfc6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

8
Jenkinsfile vendored
View File

@ -43,7 +43,15 @@ def pre_test(){
git checkout develop
git pull
git fetch
'''
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh '''
git branch -D ${CHANGE_BRANCH}
'''
}
git checkout ${CHANGE_BRANCH}
git pull
git merge develop
cd ${WK}
git reset --hard