Print lines.
This commit is contained in:
parent
9101026695
commit
b45efcb2a5
|
@ -74,8 +74,10 @@ def jobs = [:]
|
|||
if (resume_from) {
|
||||
def previous_report_file = "${agent_root_folder}/build_jobs.${resume_from}.csv"
|
||||
echo "Previous report file: ${previous_report_file}"
|
||||
new File("${agent_root_folder}/build_jobs.${resume_from}.csv")
|
||||
|
||||
def lines = new File("${agent_root_folder}/build_jobs.${resume_from}.csv").readLines()
|
||||
lines.each { String line ->
|
||||
println line
|
||||
}
|
||||
jobs = parseJobs(previous_report_file)
|
||||
if (verbose) {
|
||||
for (job in jobs)
|
||||
|
@ -161,7 +163,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_report_file} || echo "${previous_report_file} not available"
|
||||
cat ${PREVIOUS_JOB_REPORT} || echo "${previous_report_file} not available"
|
||||
ls -lrt ${AGENT_ROOT_FOLDER}/
|
||||
echo "#Build ${PIPELINE_BUILD_NUMBER}" > ${JOB_REPORT}
|
||||
echo "#StartTime ${date}" >> ${JOB_REPORT}
|
||||
|
|
Loading…
Reference in New Issue