Fix gjob.
This commit is contained in:
parent
520fc3d31b
commit
d04abeab48
|
@ -239,7 +239,7 @@ def buildComponents(args, maven_settings_file, maven_local_repo_path, jobs) {
|
|||
// propagate success
|
||||
sh "echo -e \\\"${name},SUCCESS\\\">> $JOB_REPORT"
|
||||
} else {
|
||||
build(job: name,
|
||||
def gjob = build(job: name, wait: true, propagate: 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: "CD", nodeEligibility: [$class: 'AllNodeEligibility']]
|
||||
|
@ -261,7 +261,7 @@ def parseJobs(job_file) {
|
|||
def jobs = [:]
|
||||
try {
|
||||
new File(job_file).splitEachLine(',') { columns ->
|
||||
if (columns[0].startsWith('#') || columns[0].startsWith('GroupID'))
|
||||
if (columns[0].startsWith('#') || columns[0].startsWith('JobName'))
|
||||
return
|
||||
jobs["${columns[0]}"] = columns[1]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue