redirecting output to log file with tee
This commit is contained in:
parent
38377c1f3d
commit
06f18c1c1b
1 changed files with 1 additions and 1 deletions
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue