未验证 提交 fc8b302e 编写于 作者: Y Yiqing Liu 提交者: GitHub

Merge pull request #9454 from taosdata/CI/2.4

[TD-12587]<CI>add branch 2.4
...@@ -54,10 +54,10 @@ def pre_test(){ ...@@ -54,10 +54,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{
...@@ -86,10 +86,10 @@ def pre_test(){ ...@@ -86,10 +86,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{
...@@ -129,10 +129,10 @@ def pre_test_noinstall(){ ...@@ -129,10 +129,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{
...@@ -161,10 +161,10 @@ def pre_test_noinstall(){ ...@@ -161,10 +161,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{
...@@ -201,10 +201,10 @@ def pre_test_mac(){ ...@@ -201,10 +201,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{
...@@ -233,10 +233,10 @@ def pre_test_mac(){ ...@@ -233,10 +233,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{
...@@ -279,10 +279,10 @@ def pre_test_win(){ ...@@ -279,10 +279,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{
...@@ -310,10 +310,10 @@ def pre_test_win(){ ...@@ -310,10 +310,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.
先完成此消息的编辑!
想要评论请 注册