Merge pull request #6597 from mprince/docfix

Add env template function to doc
This commit is contained in:
Megan Marsh 2018-08-16 14:27:45 -07:00 committed by GitHub
commit f00260e293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ Here is a full list of the available functions for reference.
- `build_name` - The name of the build being run. - `build_name` - The name of the build being run.
- `build_type` - The type of the builder being used currently. - `build_type` - The type of the builder being used currently.
- `env` - Returns environment variables. See example in [using home variable](/docs/templates/user-variables.html#using-home-variable)
- `isotime [FORMAT]` - UTC time, which can be - `isotime [FORMAT]` - UTC time, which can be
[formatted](https://golang.org/pkg/time/#example_Time_Format). See more [formatted](https://golang.org/pkg/time/#example_Time_Format). See more
examples below in [the `isotime` format reference](/docs/templates/engine.html#isotime-function-format-reference). examples below in [the `isotime` format reference](/docs/templates/engine.html#isotime-function-format-reference).