redirecting output to log file with tee

This commit is contained in:
Jean-Marie Renouard 2018-09-23 06:05:44 +00:00
parent 38377c1f3d
commit 06f18c1c1b

View file

@ -148,7 +148,7 @@ before_script:
script:
- perlcritic --exclude InputOutput::ProhibitInteractiveTest mysqltuner.pl
- ./mysqltuner.pl --verbose --tbstat 1> stdout.txt 2>stderr.txt
- ./mysqltuner.pl --verbose --tbstat 2>stderr.txt | tee -a "stdout.txt"
after_script:
- echo "Standard Output: $(cat stdout.txt)"