I am trying to create a Task Group that can be used interchangeably between Build and Release pipelines.
However, I am having an issue passing one of the arguments to my Powershell Task Group.
The reason for this is that the argument data that I'm trying to pass doesn't exist within the Build environment.
- envName "$(Release.EnvironmentName)"
Is there a way for me to pass this argument only if it exists? Or to pass this argument OR a different argument?