diff --git a/Jenkinsfile b/Jenkinsfile index a95eed5..733fe08 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -203,12 +203,12 @@ pipeline { stage('build maven-parent') { steps { script { - if (jobs['maven-parent'] == 'SUCCESS') { + if (jobs['maven-parent_branch'] == 'SUCCESS') { echo "Skipping maven-parent" // propagate success sh "echo -e maven-parent,SUCCESS >> ${agent_root_folder}/build_jobs.${env.BUILD_NUMBER}.csv" } else { - def gjob = build(job: 'maven-parent', wait: true, propagate: true, + def gjob = build(job: 'maven-parent_branch', wait: true, propagate: true, parameters: [[$class: 'StringParameterValue', name: 'gcube_settings', value: "${maven_settings_file} -Pdry-run"], [$class: 'StringParameterValue', name: 'local_repo', value: "${maven_local_repo_path}"], [$class: 'LabelParameterValue', name: 'exec_label', label: "CD-test", nodeEligibility: [$class: 'AllNodeEligibility']]