Skip to content

Commit

Permalink
Whitelist a few more matrix parameter characters
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Vieira <[email protected]>
  • Loading branch information
mark-vieira committed Jan 21, 2020
1 parent 41c15b4 commit 4d0358c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/build-scan.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4d0358c

Please sign in to comment.