coverage: Pick the latest coverage report from the current project
In Ansible, `get_url`, when invoked like this code did, won't keep
overwriting the target file. This means that when the job runs in a
queue with a long history of artifacts, the oldest one wins instead of
the newest one.
I don't think I could filter-first index-later when using Ansible's
`when` construct, so switch to JSON queries.
While I'm at this, I really want to see some debug info, so let's add a
`debug` in there -- and that requires splitting out into an extra task
as far as I "know" Ansible.
Change-Id: I3b53d062dae5b746c9847ddf85fd749f72387df4
2 files changed