diff --git a/inau-dispatcher.py b/inau-dispatcher.py index c1011637fe3f73917caff28339addc696597d0da..3b9723ce660358d883c223f6f4af073482a9e7b6 100755 --- a/inau-dispatcher.py +++ b/inau-dispatcher.py @@ -15,6 +15,7 @@ import logging import logging.handlers import argparse import datetime +#import time import subprocess import paramiko import hashlib @@ -94,6 +95,9 @@ class Builder: def update(self, job): logger.info("[" + self.name + "] Checkouting " + job.build_tag + " from " + job.repository_url + "...") builddir = self.platdir + "/" + job.repository_name + # Wait a second before start to update git repository to avoid: + # Command '['git -C /scratch/build/repositories//8/cs/etc/browser/booster reset --hard refs/tags/1.0.34']' returned non-zero exit status 128. + # time.sleep(1) if not os.path.isdir(self.platdir): os.mkdir(self.platdir) if os.path.isdir(builddir):