https://github.com/materializeinc/uid-buildkite-plugin
A Buildkite plugin to expose agent's UID and GID
https://github.com/materializeinc/uid-buildkite-plugin
Last synced: 5 months ago
JSON representation
A Buildkite plugin to expose agent's UID and GID
- Host: GitHub
- URL: https://github.com/materializeinc/uid-buildkite-plugin
- Owner: MaterializeInc
- Created: 2019-03-28T15:04:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-28T15:05:18.000Z (over 7 years ago)
- Last Synced: 2025-10-20T04:50:17.681Z (8 months ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UID Buildkite Plugin
A [Buildkite plugin] that exposes the agent's UID and GID as environment
variables.
## Details
The user ID is exported as the `BUILDKITE_AGENT_UID` environment variable.
The group ID is exported as the `BUILDKITE_AGENT_GID` environment variable.
## Example
```yml
steps:
- command: 'echo "My UID is: $$BUILDKITE_AGENT_UID"'
plugins:
- timelydata/uid#1.0.0: ~
```
[Buildkite plugin]: https://buildkite.com/docs/agent/v3/plugins