mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-17 19:09:39 +00:00
Add missing injected variables to doc
This commit is contained in:
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
|
* `$$COMMIT` git sha for the current build, long format
|
||||||
* `$$BRANCH` git branch for the current build
|
* `$$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
|
* `$$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:
|
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:
|
||||||
|
Reference in New Issue
Block a user