diff --git a/Jenkinsfile b/Jenkinsfile index 5c870de..1780489 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -98,11 +98,11 @@ pipeline { // the maven-parent needs to be built (once) at each execution stage('build maven-parent') { steps { - build(job: 'maven-parent', + echo build(job: 'maven-parent', wait: true, parameters: [[$class: 'StringParameterValue', name: 'gcube_settings', value: "${maven_settings_file}"], [$class: 'StringParameterValue', name: 'local_repo', value: "${maven_local_repo_path}"], [$class: 'LabelParameterValue', name: 'exec_label', label: "pipeline-agent", nodeEligibility: [$class: 'AllNodeEligibility']] - ]) + ]).result echo "Done with maven-parent" } }