Octopus.Environment.Name not evaluated when manually running a step template from library #3725
Labels
kind/bug
This issue represents a verified problem we are committed to solving
Milestone
To replicate issue:
$EnvironmentName = $OctopusParameters['Octopus.Environment.Name']
Run the script on all deployment targets in set of environments and roles
You will notice that the variable evaluates to null, whereas the same code when run as a script step in a project will correctly report the Environment.
The text was updated successfully, but these errors were encountered: