[TD-2784]<test>test pr from forked repo

This commit is contained in:
liuyq-617 2021-01-19 14:38:55 +08:00
parent 05372ddbda
commit 1c2a918c3d
1 changed files with 3 additions and 6 deletions

9
Jenkinsfile vendored
View File

@ -41,13 +41,10 @@ def pre_test(){
cd ${WKC}
git checkout develop
git reset --hard HEAD~10
git reset --hard HEAD~10 >/dev/null
git pull
git fetch
git checkout ${CHANGE_BRANCH}
git reset --hard HEAD~10
git pull
git merge develop
git fetch origin +refs/pull/${CHANGE_ID}/merge
cd ${WK}
git reset --hard HEAD~10
git checkout develop