diff --git a/Jenkinsfile b/Jenkinsfile index bba4561b622827e37aeaa106295c1dc62db9ef39..8689e19274fd87e85e386e4d597a762309d8fcb4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -55,10 +55,10 @@ def pre_test(){ git checkout master ''' } - else if(env.CHANGE_TARGET == '2.0'){ + else if(env.CHANGE_TARGET == '2.4'){ sh ''' cd ${WKC} - git checkout 2.0 + git checkout 2.4 ''' } else{ @@ -87,10 +87,10 @@ def pre_test(){ git checkout master ''' } - else if(env.CHANGE_TARGET == '2.0'){ + else if(env.CHANGE_TARGET == '2.4'){ sh ''' cd ${WK} - git checkout 2.0 + git checkout 2.4 ''' } else{ @@ -130,10 +130,10 @@ def pre_test_noinstall(){ git checkout master ''' } - else if(env.CHANGE_TARGET == '2.0'){ + else if(env.CHANGE_TARGET == '2.4'){ sh ''' cd ${WKC} - git checkout 2.0 + git checkout 2.4 ''' } else{ @@ -162,10 +162,10 @@ def pre_test_noinstall(){ git checkout master ''' } - else if(env.CHANGE_TARGET == '2.0'){ + else if(env.CHANGE_TARGET == '2.4'){ sh ''' cd ${WK} - git checkout 2.0 + git checkout 2.4 ''' } else{ @@ -202,10 +202,10 @@ def pre_test_mac(){ git checkout master ''' } - else if(env.CHANGE_TARGET == '2.0'){ + else if(env.CHANGE_TARGET == '2.4'){ sh ''' cd ${WKC} - git checkout 2.0 + git checkout 2.4 ''' } else{ @@ -234,10 +234,10 @@ def pre_test_mac(){ git checkout master ''' } - else if(env.CHANGE_TARGET == '2.0'){ + else if(env.CHANGE_TARGET == '2.4'){ sh ''' cd ${WK} - git checkout 2.0 + git checkout 2.4 ''' } else{ @@ -280,10 +280,10 @@ def pre_test_win(){ git checkout master ''' } - else if(env.CHANGE_TARGET == '2.0'){ + else if(env.CHANGE_TARGET == '2.4'){ bat ''' cd C:\\workspace\\TDinternal\\community - git checkout 2.0 + git checkout 2.4 ''' } else{ @@ -311,10 +311,10 @@ def pre_test_win(){ git checkout master ''' } - else if(env.CHANGE_TARGET == '2.0'){ + else if(env.CHANGE_TARGET == '2.4'){ bat ''' cd C:\\workspace\\TDinternal - git checkout 2.0 + git checkout 2.4 ''' } else{