Matches parenthesis in the pipeline.
This commit is contained in:
parent
f703a41d5e
commit
6ebf6bde78
|
@ -170,7 +170,8 @@ pipeline {
|
||||||
|
|
||||||
def buildComponents(args) {
|
def buildComponents(args) {
|
||||||
if (args.items) {
|
if (args.items) {
|
||||||
parallel args.items?.collectEntries { name -> [ "${name}": {
|
parallel args.items?.collectEntries { name ->
|
||||||
|
["${name}": {
|
||||||
if (name && !"NONE".equalsIgnoreCase(name))
|
if (name && !"NONE".equalsIgnoreCase(name))
|
||||||
build(job: 'maven-parent',
|
build(job: 'maven-parent',
|
||||||
parameters: [[$class: 'StringParameterValue', name: 'gcube_settings', value: "${maven_settings_file}"],
|
parameters: [[$class: 'StringParameterValue', name: 'gcube_settings', value: "${maven_settings_file}"],
|
||||||
|
@ -178,4 +179,8 @@ def buildComponents(args) {
|
||||||
[$class: 'LabelParameterValue', name: 'exec_label', label: "pipeline-agent", nodeEligibility: [$class: 'AllNodeEligibility']]
|
[$class: 'LabelParameterValue', name: 'exec_label', label: "pipeline-agent", nodeEligibility: [$class: 'AllNodeEligibility']]
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue