未验证 提交 86f828da 编写于 作者: H Hui Li 提交者: GitHub

Merge pull request #9700 from taosdata/CI/2.4

update branch name
...@@ -55,10 +55,10 @@ def pre_test(){ ...@@ -55,10 +55,10 @@ def pre_test(){
git checkout master git checkout master
''' '''
} }
else if(env.CHANGE_TARGET == '2.0'){ else if(env.CHANGE_TARGET == '2.4'){
sh ''' sh '''
cd ${WKC} cd ${WKC}
git checkout 2.0 git checkout 2.4
''' '''
} }
else{ else{
...@@ -87,10 +87,10 @@ def pre_test(){ ...@@ -87,10 +87,10 @@ def pre_test(){
git checkout master git checkout master
''' '''
} }
else if(env.CHANGE_TARGET == '2.0'){ else if(env.CHANGE_TARGET == '2.4'){
sh ''' sh '''
cd ${WK} cd ${WK}
git checkout 2.0 git checkout 2.4
''' '''
} }
else{ else{
...@@ -130,10 +130,10 @@ def pre_test_noinstall(){ ...@@ -130,10 +130,10 @@ def pre_test_noinstall(){
git checkout master git checkout master
''' '''
} }
else if(env.CHANGE_TARGET == '2.0'){ else if(env.CHANGE_TARGET == '2.4'){
sh ''' sh '''
cd ${WKC} cd ${WKC}
git checkout 2.0 git checkout 2.4
''' '''
} }
else{ else{
...@@ -162,10 +162,10 @@ def pre_test_noinstall(){ ...@@ -162,10 +162,10 @@ def pre_test_noinstall(){
git checkout master git checkout master
''' '''
} }
else if(env.CHANGE_TARGET == '2.0'){ else if(env.CHANGE_TARGET == '2.4'){
sh ''' sh '''
cd ${WK} cd ${WK}
git checkout 2.0 git checkout 2.4
''' '''
} }
else{ else{
...@@ -202,10 +202,10 @@ def pre_test_mac(){ ...@@ -202,10 +202,10 @@ def pre_test_mac(){
git checkout master git checkout master
''' '''
} }
else if(env.CHANGE_TARGET == '2.0'){ else if(env.CHANGE_TARGET == '2.4'){
sh ''' sh '''
cd ${WKC} cd ${WKC}
git checkout 2.0 git checkout 2.4
''' '''
} }
else{ else{
...@@ -234,10 +234,10 @@ def pre_test_mac(){ ...@@ -234,10 +234,10 @@ def pre_test_mac(){
git checkout master git checkout master
''' '''
} }
else if(env.CHANGE_TARGET == '2.0'){ else if(env.CHANGE_TARGET == '2.4'){
sh ''' sh '''
cd ${WK} cd ${WK}
git checkout 2.0 git checkout 2.4
''' '''
} }
else{ else{
...@@ -280,10 +280,10 @@ def pre_test_win(){ ...@@ -280,10 +280,10 @@ def pre_test_win(){
git checkout master git checkout master
''' '''
} }
else if(env.CHANGE_TARGET == '2.0'){ else if(env.CHANGE_TARGET == '2.4'){
bat ''' bat '''
cd C:\\workspace\\TDinternal\\community cd C:\\workspace\\TDinternal\\community
git checkout 2.0 git checkout 2.4
''' '''
} }
else{ else{
...@@ -311,10 +311,10 @@ def pre_test_win(){ ...@@ -311,10 +311,10 @@ def pre_test_win(){
git checkout master git checkout master
''' '''
} }
else if(env.CHANGE_TARGET == '2.0'){ else if(env.CHANGE_TARGET == '2.4'){
bat ''' bat '''
cd C:\\workspace\\TDinternal cd C:\\workspace\\TDinternal
git checkout 2.0 git checkout 2.4
''' '''
} }
else{ else{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册