Remove code to isolate errors.
This commit is contained in:
parent
a6b6c8c7f4
commit
e8a0a4d362
|
@ -158,10 +158,7 @@ pipeline {
|
||||||
stage('build maven-parent') {
|
stage('build maven-parent') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
if ( ("${resume}" == 'true') && (wasSuccess('maven-parent')) ) {
|
|
||||||
// propagate success
|
|
||||||
sh "echo -e \\\"maven-parent,SUCCESS\\\">> $JOB_REPORT"
|
|
||||||
} else {
|
|
||||||
def gjob = build(job: 'maven-parent', wait: true, propagate: true,
|
def gjob = build(job: 'maven-parent', wait: true, propagate: true,
|
||||||
parameters: [[$class: 'StringParameterValue', name: 'gcube_settings', value: "${maven_parent_file}"],
|
parameters: [[$class: 'StringParameterValue', name: 'gcube_settings', value: "${maven_parent_file}"],
|
||||||
[$class: 'StringParameterValue', name: 'local_repo', value: "${maven_local_repo_path}"],
|
[$class: 'StringParameterValue', name: 'local_repo', value: "${maven_local_repo_path}"],
|
||||||
|
@ -169,7 +166,7 @@ pipeline {
|
||||||
])
|
])
|
||||||
//sh "echo -e \\\"maven-parent,${gjob.getResult()}\\\">> $JOB_REPORT"
|
//sh "echo -e \\\"maven-parent,${gjob.getResult()}\\\">> $JOB_REPORT"
|
||||||
echo "Done with maven-parent"
|
echo "Done with maven-parent"
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -227,10 +224,7 @@ def buildComponents(args, maven_settings_file, maven_local_repo_path, resume) {
|
||||||
parallel args.items?.collectEntries { name ->
|
parallel args.items?.collectEntries { name ->
|
||||||
["${name}": {
|
["${name}": {
|
||||||
if (name && !"NONE".equalsIgnoreCase(name)) {
|
if (name && !"NONE".equalsIgnoreCase(name)) {
|
||||||
if ( (resume == 'true') && (wasSuccess(name)) ) {
|
|
||||||
// propagate success
|
|
||||||
sh "echo -e \\\"${name},SUCCESS\\\">> $JOB_REPORT"
|
|
||||||
} else {
|
|
||||||
def gjob = build job: name, propagate: true, wait: true,
|
def gjob = build job: name, propagate: true, wait: true,
|
||||||
parameters: [[$class: 'StringParameterValue', name: 'gcube_settings', value: "${maven_settings_file}"],
|
parameters: [[$class: 'StringParameterValue', name: 'gcube_settings', value: "${maven_settings_file}"],
|
||||||
[$class: 'StringParameterValue', name: 'local_repo', value: "${maven_local_repo_path}"],
|
[$class: 'StringParameterValue', name: 'local_repo', value: "${maven_local_repo_path}"],
|
||||||
|
@ -238,7 +232,7 @@ def buildComponents(args, maven_settings_file, maven_local_repo_path, resume) {
|
||||||
]
|
]
|
||||||
//sh "echo -e \\\"${name},${gjob.getResult()}\\\">> $JOB_REPORT"
|
//sh "echo -e \\\"${name},${gjob.getResult()}\\\">> $JOB_REPORT"
|
||||||
println "job results: ${gjob.getResult()}"
|
println "job results: ${gjob.getResult()}"
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue