From 606f617dad1b6282a216fadc0b0c7446bdfb8bd8 Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Fri, 31 Dec 2021 17:24:43 +0800 Subject: [PATCH] update --- Jenkinsfile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d89bdad681..4d7afedc4e 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{ -- GitLab