projects
/
gnt-info
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
88216851cc1b63d35f9f1b033eca3003de0655f9
[gnt-info]
/
gnt-running.sh
1
#!/bin/sh -e
2
while true ; do
3
JOBID=`gnt-job list --no-headers --running | tee /dev/stderr | tail -1 | awk '{ print $1; exit }'`
4
if [ -n "$JOBID" ]
5
then
6
gnt-job watch $JOBID || true # don't exit on failed jobs
7
else
8
sleep 5
9
fi
10
done