mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Fixed #1372 -- sleep before checking if the build completed to ensure the buidl exists
This commit is contained in:
parent
900ce861b1
commit
d6b059885a
1 changed files with 3 additions and 0 deletions
3
tasks.py
3
tasks.py
|
|
@ -17,6 +17,9 @@ JENKINS_URL = "https://jenkins.cryptography.io/job/cryptography-wheel-builder"
|
|||
|
||||
|
||||
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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue