未验证 提交 1c6746b2 编写于 作者: H Hui Li 提交者: GitHub

Merge pull request #13210 from taosdata/test/TD-16089

ci: add 2.6 branch to ci
...@@ -36,6 +36,12 @@ def sync_source() { ...@@ -36,6 +36,12 @@ def sync_source() {
git clean -fxd git clean -fxd
git checkout 2.4 git checkout 2.4
''' '''
} else if (env.CHANGE_TARGET == '2.6') {
sh '''
cd ${WKC}
git clean -fxd
git checkout 2.6
'''
} else { } else {
sh ''' sh '''
cd ${WKC} cd ${WKC}
...@@ -68,6 +74,11 @@ def sync_source() { ...@@ -68,6 +74,11 @@ def sync_source() {
cd ${WK} cd ${WK}
git checkout 2.4 git checkout 2.4
''' '''
} else if (env.CHANGE_TARGET == '2.6') {
sh '''
cd ${WK}
git checkout 2.6
'''
} else { } else {
sh ''' sh '''
cd ${WK} cd ${WK}
...@@ -125,6 +136,16 @@ def sync_source() { ...@@ -125,6 +136,16 @@ def sync_source() {
cd ${WKC} cd ${WKC}
git submodule update --init --recursive git submodule update --init --recursive
''' '''
sh '''
cd ${WKC}
git branch
git log -5
'''
sh '''
cd ${WK}
git branch
git log -5
'''
} }
def pre_test() { def pre_test() {
sync_source() sync_source()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册