This commit is contained in:
liuyq-617 2021-04-07 09:58:37 +08:00
parent 5d4d10d0bb
commit ef0b6eade2
1 changed files with 3 additions and 2 deletions

5
Jenkinsfile vendored
View File

@ -70,13 +70,13 @@ def pre_test(){
script { script {
if (env.CHANGE_TARGET == 'master') { if (env.CHANGE_TARGET == 'master') {
sh ''' sh '''
cd ${WKC} cd ${WK}
git checkout master git checkout master
''' '''
} }
else { else {
sh ''' sh '''
cd ${WKC} cd ${WK}
git checkout develop git checkout develop
''' '''
} }
@ -84,6 +84,7 @@ def pre_test(){
sh ''' sh '''
cd ${WK} cd ${WK}
git pull >/dev/null git pull >/dev/null
export TZ=Asia/Harbin export TZ=Asia/Harbin
date date
git clean -dfx git clean -dfx