Consuming resources' feched version/meta-data in a task


#1

‘in’ spec of resource found on https://concourse-ci.org/implementing-resources.html states that

The script must emit the fetched version, and may emit metadata as a list of key-value pairs. This data is intended for public consumption and will make it upstream, intended to be shown on the build’s page.

Is there any way I can consume at least fetched version of the resource ?