Commit 69f640ec authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[buildbucket] Fix printing build url

TBR=smut@chromium.org,nodir@chromium.org

Bug: 711249
Change-Id: I031497eeeec02f16c182fbe2e46c6a02f0745df9
Reviewed-on: https://chromium-review.googlesource.com/1232896Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
parent 2fbd3c8e
......@@ -134,7 +134,7 @@ def main(argv):
if args.verbose:
print content
build_url = content.get('build', {}).get('url')
build_url = json.loads(content).get('build', {}).get('url')
if build_url:
print 'Build triggered on: %s' % build_url
......
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