mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
Add matrix job params as build scan tag
Signed-off-by: Mark Vieira <portugee@gmail.com>
This commit is contained in:
parent
72c270946f
commit
2de2a3634e
@ -40,6 +40,7 @@ buildScan {
|
||||
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()
|
||||
value 'Job Name', baseJobName
|
||||
def matrixParams = splitJobName.last().split(',')
|
||||
matrixParams.collect { it.split('=') }.each { param ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user