feature/22849 #2
|
@ -203,12 +203,12 @@ pipeline {
|
||||||
stage('build maven-parent') {
|
stage('build maven-parent') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
if (jobs['maven-parent'] == 'SUCCESS') {
|
if (jobs['maven-parent_branch'] == 'SUCCESS') {
|
||||||
echo "Skipping maven-parent"
|
echo "Skipping maven-parent"
|
||||||
// propagate success
|
// propagate success
|
||||||
sh "echo -e maven-parent,SUCCESS >> ${agent_root_folder}/build_jobs.${env.BUILD_NUMBER}.csv"
|
sh "echo -e maven-parent,SUCCESS >> ${agent_root_folder}/build_jobs.${env.BUILD_NUMBER}.csv"
|
||||||
} else {
|
} 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"],
|
parameters: [[$class: 'StringParameterValue', name: 'gcube_settings', value: "${maven_settings_file} -Pdry-run"],
|
||||||
[$class: 'StringParameterValue', name: 'local_repo', value: "${maven_local_repo_path}"],
|
[$class: 'StringParameterValue', name: 'local_repo', value: "${maven_local_repo_path}"],
|
||||||
[$class: 'LabelParameterValue', name: 'exec_label', label: "CD-test", nodeEligibility: [$class: 'AllNodeEligibility']]
|
[$class: 'LabelParameterValue', name: 'exec_label', label: "CD-test", nodeEligibility: [$class: 'AllNodeEligibility']]
|
||||||
|
|
Loading…
Reference in New Issue