This commit is contained in:
Tim Bentley 2017-12-29 09:40:15 +00:00
parent 41f35f52e3
commit 8997fc07e0
3 changed files with 5 additions and 3 deletions

View File

@ -160,7 +160,7 @@ class JenkinsTrigger(object):
tries = 0 tries = 0
while queue_info and tries < 50: while queue_info and tries < 50:
tries += 1 tries += 1
time.sleep(0.5) time.sleep(0.75)
queue_info = self.server.get_queue_info() queue_info = self.server.get_queue_info()
if tries >= 50: if tries >= 50:
raise Exception('Build has not started yet, it may be stuck in the queue.') raise Exception('Build has not started yet, it may be stuck in the queue.')

View File

@ -19,3 +19,4 @@
# with this program; if not, write to the Free Software Foundation, Inc., 59 # # with this program; if not, write to the Free Software Foundation, Inc., 59 #
# Temple Place, Suite 330, Boston, MA 02111-1307 USA # # Temple Place, Suite 330, Boston, MA 02111-1307 USA #
############################################################################### ###############################################################################

View File

@ -19,3 +19,4 @@
# with this program; if not, write to the Free Software Foundation, Inc., 59 # # with this program; if not, write to the Free Software Foundation, Inc., 59 #
# Temple Place, Suite 330, Boston, MA 02111-1307 USA # # Temple Place, Suite 330, Boston, MA 02111-1307 USA #
############################################################################### ###############################################################################