summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-10-16 21:39:59 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2017-10-16 21:39:59 +0000
commit803277bf7bce6203fc553019930c8c5f0c3e12dc (patch)
tree33d500949928f68e16c06f8b7989db189f567368
parentaa3ab2cf57a0786336c23f891eba4197b6b091f7 (diff)
compare_jobs.sh: Rename Report.html and diff*.txt
Report.html -> 0-report.html diff-*.txt -> 1-diff*.txt This is another attempt at having the main report deplayed first in the Jenkins list. The previous attempt of renaming report.html into Report.html does not work, Report.html is still listed after diff* files). Change-Id: I7e6a5f41fb7d77abc954ef1931c76d792657e2af
-rwxr-xr-xcompare_jobs.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/compare_jobs.sh b/compare_jobs.sh
index d3150ab..ea92656 100755
--- a/compare_jobs.sh
+++ b/compare_jobs.sh
@@ -24,7 +24,7 @@ function html_report_print_row
local target=${1?}
local status=${2?}
local message=${3?}
- local log_url=diff-${target}.txt
+ local log_url=1-diff-${target}.txt
cat <<EOF
<tr>
<td>${target}</td>
@@ -97,7 +97,7 @@ if [ -s ${tmptargets} ]; then
fi
rm -f ${tmptargets}
-HTML_REPORT=${mydir}/Report.html
+HTML_REPORT=${mydir}/0-report.html
rm -f ${HTML_REPORT} ${HTML_REPORT}.part
html_doc_print_header > ${HTML_REPORT}.part
@@ -116,7 +116,7 @@ do
echo "BUILD = "${build}
failed=false
improved=false
- mylog=${mydir}/diff-${buildtarget}.txt
+ mylog=${mydir}/1-diff-${buildtarget}.txt
target=`echo ${buildtarget} | cut -d. -f2`
printf "\t# ============================================================== #\n" > ${mylog}
printf "\t#\t\t*** ${buildtarget} ***\n" >> ${mylog}