...
 
Commits (2)
......@@ -142,13 +142,11 @@ function create_web_page {
fi
# copy the build file
if [ -f "/etc/${APP_NAME}/${test_dir}/build.txt" ]; then
cp "/etc/${APP_NAME}/${test_dir}/build.txt" "${web_dir}/build_${test_dir}.txt"
build_log_filename="${web_dir}/build_${test_dir}.txt"
if [ -f "${web_dir}/buildlog_${test_dir}.txt" ]; then
build_log_filename="${web_dir}/buildlog_${test_dir}.txt"
else
echo $'There are no build results yet' > "${web_dir}/build_${test_dir}.txt"
fi
if [ -f "/etc/${APP_NAME}/${test_dir}-build/build.txt" ]; then
cp "/etc/${APP_NAME}/${test_dir}-build/build.txt" "${web_dir}/build_${test_dir}.txt"
echo $'There are no build results yet' > "${build_log_filename}"
fi
# Add an entry to the html table
......@@ -157,7 +155,7 @@ function create_web_page {
echo " <a href=\"./downloads\"><img src=\"${APP_NAME}_img/${status}.png\" width=\"64\" alt=\"${status}\"/></a>";
echo " </th>";
echo " <th>";
echo " <a href=\"build_${test_dir}.txt\">$test_dir</a>";
echo " <a href=\"${build_log_filename}\">$test_dir</a>";
echo " </th>";
echo " <th>";
echo " <font color=\"${text_color}\">$CURR_COMMIT</font>${last_good_commit_str}";
......