From 4d0358cf373df67781e6937bb00149be496c254c Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Tue, 21 Jan 2020 15:16:29 -0800 Subject: [PATCH] Whitelist a few more matrix parameter characters Signed-off-by: Mark Vieira --- gradle/build-scan.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/build-scan.gradle b/gradle/build-scan.gradle index 7ce2b136a20e6..aec841346799f 100644 --- a/gradle/build-scan.gradle +++ b/gradle/build-scan.gradle @@ -37,7 +37,7 @@ buildScan { // Parse job name in the case of matrix builds // Matrix job names come in the form of "base-job-name/matrix_param1=value1,matrix_param2=value2" def splitJobName = jobName.split('/') - if (splitJobName.length > 1 && splitJobName.last() ==~ /^([a-zA-Z0-9_\-]+=[a-zA-Z0-9_\-]+,?)+$/) { + if (splitJobName.length > 1 && splitJobName.last() ==~ /^([a-zA-Z0-9_\-]+=[a-zA-Z0-9_\-&\.]+,?)+$/) { def baseJobName = splitJobName.dropRight(1).join('/') tag baseJobName tag splitJobName.last()