projects
/
gnt-info
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
process each instance only once
[gnt-info]
/
gnt-running.sh
1
#!/bin/sh -e
2
while true ; do
3
JOBID=`gnt-job list --no-headers --running | tee /dev/stderr | 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