From ddf9cae2f4b4205d21748e4a3ce1194bca4deaea Mon Sep 17 00:00:00 2001 From: Lifu Wu Date: Fri, 4 Jun 2021 18:17:47 +0800 Subject: [PATCH] fix error on new ci fix a jenkins error on new ci: Caused: java.io.NotSerializableException: java.util.regex.Matcher Signed-off-by: purelind --- .ci/integration_test.groovy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci/integration_test.groovy b/.ci/integration_test.groovy index ea7f95f8985..c5cb281c96e 100644 --- a/.ci/integration_test.groovy +++ b/.ci/integration_test.groovy @@ -9,6 +9,7 @@ def call(ghprbActualCommit, ghprbPullId, ghprbPullTitle, ghprbPullLink, ghprbPul if (m1) { TIDB_BRANCH = "${m1[0][1]}" } + m1 = null println "TIDB_BRANCH=${TIDB_BRANCH}" // parse pd branch @@ -16,6 +17,7 @@ def call(ghprbActualCommit, ghprbPullId, ghprbPullTitle, ghprbPullLink, ghprbPul if (m2) { PD_BRANCH = "${m2[0][1]}" } + m2 = null println "PD_BRANCH=${PD_BRANCH}" // parse tikv branch @@ -23,6 +25,7 @@ def call(ghprbActualCommit, ghprbPullId, ghprbPullTitle, ghprbPullLink, ghprbPul if (m3) { TIKV_BRANCH = "${m3[0][1]}" } + m3 = null println "TIKV_BRANCH=${TIKV_BRANCH}" catchError {