Commit 85682a6d authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'docs-windows-variable-expansion' into 'master'

Add note about delayed expansion variables

See merge request gitlab-org/gitlab!48730
parents bc94b1ff d6bd5fc9
......@@ -259,7 +259,7 @@ To access environment variables, use the syntax for your runner's [shell](https:
|----------------------|------------------------------------------|
| bash/sh | `$variable` |
| PowerShell | `$env:variable` (primary) or `$variable` |
| Windows Batch | `%variable%` |
| Windows Batch | `%variable%`, or `!variable!` for [delayed expansion](https://ss64.com/nt/delayedexpansion.html), which can be used for variables that contain white spaces or newlines. |
### Bash
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment