test for 'git fetch origin +refs/pull/#/merge'

This commit is contained in:
liuyq-617 2021-01-19 14:43:28 +08:00
parent 1c2a918c3d
commit 0548a495a4
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -44,7 +44,7 @@ def pre_test(){
git reset --hard HEAD~10 >/dev/null git reset --hard HEAD~10 >/dev/null
git pull git pull
git fetch origin +refs/pull/${CHANGE_ID}/merge git fetch origin +refs/pull/${CHANGE_ID}/merge
git checkout -qf FETCH_HEAD
cd ${WK} cd ${WK}
git reset --hard HEAD~10 git reset --hard HEAD~10
git checkout develop git checkout develop