diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..6616887a6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +index.html +result_cache.html diff --git a/toci.sh b/toci.sh index d9f0c9410..7f03cb023 100755 --- a/toci.sh +++ b/toci.sh @@ -32,11 +32,22 @@ fi if [ ${TOCI_UPLOAD:-0} == 1 ] ; then cd $(dirname $TOCI_LOG_DIR) tar -czf - $(basename $TOCI_LOG_DIR) | ssh ec2-user@$TOCI_RESULTS_SERVER tar -C /var/www/html/toci -xzf - + touch result_cache.html + mv result_cache.html result_cache.html.bck + echo "
" > index.html if [ $STATUS == 0 ] ; then - ssh ec2-user@$TOCI_RESULTS_SERVER "echo \$STARTTIME : OK\\