From 97b1bcc40d58ce48bbf46e4abba5b878d4e0e17d Mon Sep 17 00:00:00 2001 From: tangfangzhi Date: Mon, 30 May 2022 09:28:42 +0800 Subject: [PATCH] ci: add 2.6 branch to ci --- Jenkinsfile2 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index fceaa6554f..426d8b580e 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -36,6 +36,12 @@ def sync_source() { git clean -fxd git checkout 2.4 ''' + } else if (env.CHANGE_TARGET == '2.6') { + sh ''' + cd ${WKC} + git clean -fxd + git checkout 2.6 + ''' } else { sh ''' cd ${WKC} @@ -68,6 +74,11 @@ def sync_source() { cd ${WK} git checkout 2.4 ''' + } else if (env.CHANGE_TARGET == '2.6') { + sh ''' + cd ${WK} + git checkout 2.6 + ''' } else { sh ''' cd ${WK} -- GitLab