Commit b1c5ae70 authored by Tom Powell's avatar Tom Powell

Allow filtering by build id

parent 695d0f1b
Pipeline #38634986 failed with stages
in 7 minutes and 55 seconds
......@@ -45,6 +45,8 @@ def parse_args():
if 'date' in request.args:
date = datetime.datetime.strptime(request.args.get('date'), '%Y-%m-%d').date()
args['build_date'] = datetime.datetime.strptime(request.args.get('date'), '%Y-%m-%d').date()
if 'id' in request.args:
args['build_id'] = request.args.get('id')
return args
@cache.memoize()
......
Markdown is supported
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