Expose team name as environment variable for resources.
Currently, the team name of the build is not available in the in/out step of a resource. For many resources (especially notifications) this would be of great help.
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
- [ ] #129470713 Expose team name as environment variable for resources.
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
+1
Actually, just looked through the code to see how hard it would be to fix.. it appears to already be there as of https://github.com/concourse/atc/commit/cc49822928f67506cb6a6206466f73c00edcd8fc, and exposed as BUILD_TEAM_NAME. Can this be closed? Do there need to be additional documentation updates somewhere?
It's documented here; this can be closed: https://concourse.ci/implementing-resources.html#resource-metadata
Thanks for checking in!