Merge pull request #16368 from taosdata/ci/TD-18521_main

ci: git remote prune origin before git pull
This commit is contained in:
Haojun Liao 2022-08-24 11:35:17 +08:00 committed by GitHub
commit 1d322482ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ def check_docs() {
}
sh '''
cd ${WKC}
git remote prune origin
git pull >/dev/null
git fetch origin +refs/pull/${CHANGE_ID}/merge
git checkout -qf FETCH_HEAD