How to get a current pipeline name, team name and build id from a task container?


#1

As the title, I want to generate some metadata based on those info, how to get them from a task container?


#2

Self answering the question: refer to https://concourse-ci.org/implementing-resources.html, check the “Metadata” section.