Skip to content
Wojtek edited this page Apr 8, 2015 · 1 revision

The Environment.ps1 file is optional.

If present, it would be loaded before any steps are executed, which means that any functions or variables defined in this file, would be available in steps' body.

The $Context variable is available in Environment.ps1 file. Also, when Environment.ps1 is dot-sourced, a -Target parameter value is passed as an (positional) argument.

Clone this wiki locally