Commit a56e6ab8 authored by Ralf Jung's avatar Ralf Jung
Browse files

benchmark extractor: deal with builds that are still running

parent 96a43618
......@@ -65,6 +65,9 @@ for commit in parse_log.parse_git_commits(args.commits):
if build['status'] == 'failed':
# build failed
if build['status'] == 'running':
# build still running, don't fetch this or any later commit
# now fetch the build times
build_times = requests.get("{}/builds/{}/artifacts/file/build-time.txt".format(project['web_url'], build['id']))
if build_times.status_code != 200:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment