Commit 83211fa8 by Calen Pennington

Only dump last 100 lines of stdout and stderr to the jenkins console

parent 7376b114
......@@ -83,10 +83,10 @@ function run_paver_quality {
mkdir -p test_root/log/
LOG_PREFIX=test_root/log/$QUALITY_TASK
paver $QUALITY_TASK $* 2> $LOG_PREFIX.err.log > $LOG_PREFIX.out.log || {
echo "STDOUT:";
cat $LOG_PREFIX.out.log;
echo "STDERR:";
cat $LOG_PREFIX.err.log;
echo "STDOUT (last 100 lines of $LOG_PREFIX.out.log):";
tail -n 100 $LOG_PREFIX.out.log;
echo "STDERR (last 100 lines of $LOG_PREFIX.err.log):";
tail -n 100 $LOG_PREFIX.err.log;
return 1;
}
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment