concourse icon indicating copy to clipboard operation
concourse copied to clipboard

Expose team name as environment variable for resources.

Open joharohl opened this issue 10 years ago • 4 comments

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.

joharohl avatar Aug 30 '16 16:08 joharohl

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.

concourse-bot avatar Aug 30 '16 16:08 concourse-bot

+1

geofffranks avatar Nov 14 '16 19:11 geofffranks

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?

geofffranks avatar Nov 14 '16 19:11 geofffranks

It's documented here; this can be closed: https://concourse.ci/implementing-resources.html#resource-metadata

Thanks for checking in!

vito avatar Nov 14 '16 19:11 vito