Jobs as parameter.

This commit is contained in:
Manuele Simi 2019-12-09 21:42:10 -05:00
parent 5c120a3207
commit 520fc3d31b
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -186,7 +186,7 @@ pipeline {
jsonConfig.gCube_release.Components.each { group_name, component_list ->
stage("build ${group_name} components") {
buildComponents items: component_list?.collect { "${it.name}" },
"${maven_settings_file}", "${maven_local_repo_path}"
"${maven_settings_file}", "${maven_local_repo_path}", jobs
echo "Done with ${group_name} components"
}
}
@ -229,7 +229,7 @@ pipeline {
}
}
def buildComponents(args, maven_settings_file, maven_local_repo_path) {
def buildComponents(args, maven_settings_file, maven_local_repo_path, jobs) {
if (args.items) {
parallel args.items?.collectEntries { name ->
["${name}": {