commit | d6b059885af9ddf36f464d9decd61a80db3ed96c | [log] [tgz] |
---|---|---|
author | Alex Gaynor <[email protected]> | Tue Dec 16 09:32:59 2014 -0800 |
committer | Alex Gaynor <[email protected]> | Tue Dec 16 09:32:59 2014 -0800 |
tree | 303c1ac83bb47ae975becac79b824723fe12a8de | |
parent | 900ce861b17b715d0591641c32b4284512cbac46 [diff] [blame] |
Fixed #1372 -- sleep before checking if the build completed to ensure the buidl exists
diff --git a/tasks.py b/tasks.py index 2dd005b..c109f14 100644 --- a/tasks.py +++ b/tasks.py
@@ -17,6 +17,9 @@ def wait_for_build_completed(session): + # Wait 3 seconds before actually checking if the build is complete, to + # ensure that it had time to really start. + time.sleep(3) while True: response = session.get( "{0}/lastBuild/api/json/".format(JENKINS_URL),