From 520fc3d31b50a737783bfcbb62f2714b3558b427 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Mon, 9 Dec 2019 21:42:10 -0500 Subject: [PATCH] Jobs as parameter. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d13b3a4..c81b0ca 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}": {