Handle cat error.
This commit is contained in:
parent
d4534fea88
commit
be8f943ab9
|
@ -159,7 +159,7 @@ pipeline {
|
|||
echo -e "GroupID,ArtifactID,Version,SCM URL,Build Number,Distribution URL,Filename,Packaging" >> ${AGENT_ROOT_FOLDER}/build_commits.csv
|
||||
|
||||
#job report
|
||||
cat ${PREVIOUS_JOB_REPORT}
|
||||
cat ${previous_report_file} || echo "${previous_report_file} not available"
|
||||
echo "#Build ${PIPELINE_BUILD_NUMBER}" > ${JOB_REPORT}
|
||||
echo "#StartTime ${date}" >> ${JOB_REPORT}
|
||||
echo -e "JobName,Status" >> ${JOB_REPORT}
|
||||
|
|
Loading…
Reference in New Issue