Skip to content

Commit

Permalink
fix for artifacts downloader when current build has not yet finished
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Jun 13, 2020
1 parent cdd0c8a commit 788158b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/download_azure_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_latest_successful_build():
(
(b["finishTime"], b["id"], b["buildNumber"])
for b in builds["value"]
if b["result"] == "succeeded"
if b.get("result", None) == "succeeded"
),
reverse=True,
)[0]
Expand Down

0 comments on commit 788158b

Please sign in to comment.