mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
ZEPPELIN-207: travis-ci build log is too long to be displayed
This commit is contained in:
parent
e5b00673ab
commit
aa2568dbea
1 changed files with 0 additions and 15 deletions
15
1.sh
15
1.sh
|
|
@ -1,15 +0,0 @@
|
|||
#/bin/bash
|
||||
nohup mvn package -DskipTests -Phadoop-2.3 -Ppyspark -B 2>&1 > install.log &
|
||||
count=0
|
||||
nextPrint=$(date +%s)
|
||||
while read line; do
|
||||
count=$((count+=1))
|
||||
now=$(date +%s)
|
||||
if [[ $now -gt $nextPrint ]];then
|
||||
echo "Text read from file: $count"
|
||||
sleep 2
|
||||
now=$(date +%s)
|
||||
nextPrint=$((now+10))
|
||||
fi
|
||||
|
||||
done < "install.log"
|
||||
Loading…
Reference in a new issue