mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 08:06:52 +02:00
Add missing injected variables to doc
This commit is contained in:
parent
3a84a86dca
commit
41d02d70ea
2
docs/build/env.md
vendored
2
docs/build/env.md
vendored
@ -33,7 +33,7 @@ A subset of variables may be substituted directly into the Yaml at runtime using
|
||||
|
||||
* `$$COMMIT` git sha for the current build, long format
|
||||
* `$$BRANCH` git branch for the current build
|
||||
* `$$REPO` repository full name (in `owner/name` format)
|
||||
* `$$BUILD_NUMBER` build number for the current build
|
||||
* `$$TAG` tag name
|
||||
|
||||
This is useful when you need to dynamically configure your plugin based on the current build. For example, we can alter an artifact name to include the branch:
|
||||
|
Loading…
Reference in New Issue
Block a user