devops: fix buildbot-windows.sh

This commit is contained in:
Andrey Lushnikov 2019-11-25 17:11:36 -08:00
parent 2887312330
commit a13556c27c

View file

@ -39,10 +39,10 @@ while true; do
../checkout_build_archive_upload.sh firefox ../checkout_build_archive_upload.sh firefox
git pull origin master git pull origin master
../checkout_build_archive_upload.sh firefox --win64 ../checkout_build_archive_upload.sh firefox --win64
echo "------ Sleeping for 300 seconds before next turn... ------"
newTimestamp=$(date +%s) newTimestamp=$(date +%s)
delta=$(( 300 - newTimestamp + timestamp )); delta=$(( 300 - newTimestamp + timestamp ));
if (( delta > 0 )); then if (( delta > 0 )); then
sleep $detla echo "------ Sleeping for $delta seconds before next turn... ------"
sleep $delta
fi fi
done; done;