未验证 提交 99e39de2 编写于 作者: haoranc's avatar haoranc 提交者: GitHub

Update Jenkinsfile2

上级 c34e4450
...@@ -48,6 +48,7 @@ def sync_source() { ...@@ -48,6 +48,7 @@ def sync_source() {
cd ${WKC} cd ${WKC}
git clean -f git clean -f
git checkout -f 2.6 git checkout -f 2.6
git remote prune origin
git fetch git fetch
''' '''
} }
...@@ -86,6 +87,7 @@ def sync_source() { ...@@ -86,6 +87,7 @@ def sync_source() {
sh ''' sh '''
cd ${WK} cd ${WK}
git checkout -f 2.6 git checkout -f 2.6
git remote prune origin
git fetch git fetch
''' '''
} }
...@@ -233,11 +235,13 @@ def pre_test_win(){ ...@@ -233,11 +235,13 @@ def pre_test_win(){
bat ''' bat '''
cd %WIN_INTERNAL_ROOT% cd %WIN_INTERNAL_ROOT%
git checkout -f 2.6 git checkout -f 2.6
git remote prune origin
git fetch git fetch
''' '''
bat ''' bat '''
cd %WIN_COMMUNITY_ROOT% cd %WIN_COMMUNITY_ROOT%
git checkout -f 2.6 git checkout -f 2.6
git remote prune origin
git fetch git fetch
''' '''
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册