Adjust echo command.
This commit is contained in:
parent
5d90126807
commit
478ac55b21
|
@ -215,7 +215,9 @@ def buildComponents(args, maven_settings_file, maven_local_repo_path) {
|
|||
[$class: 'StringParameterValue', name: 'local_repo', value: "${maven_local_repo_path}"],
|
||||
[$class: 'LabelParameterValue', name: 'exec_label', label: "CD", nodeEligibility: [$class: 'AllNodeEligibility']]
|
||||
])
|
||||
echo -e "${name},${job.getResult()}" >> ${AGENT_ROOT_FOLDER}/build_jobs.${PIPELINE_BUILD_NUMBER}.csv
|
||||
|
||||
sh(script: "echo -e '${name},${job.getResult()}' >> ${AGENT_ROOT_FOLDER}/build_jobs.${PIPELINE_BUILD_NUMBER}.csv")
|
||||
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
@ -228,8 +230,7 @@ boolean wasSuccess(report, job_name) {
|
|||
"${text}".splitEachLine(',') { columns ->
|
||||
if (columns[0].startsWith('#') || columns[0].startsWith('JobName'))
|
||||
return
|
||||
echo "NAME: columns[0] STATUS: columns[1]"
|
||||
|
||||
println "NAME: ${columns[0]} STATUS: ${columns[1]}"
|
||||
}
|
||||
false;
|
||||
}
|
Loading…
Reference in New Issue