diff --git a/Jenkinsfile b/Jenkinsfile index d89bdad681a3314e898517cb3c54a08da283f36f..4d7afedc4e89ce44bbf581512ca96e84a76e69af 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{