I have a custom step template where I have added the feature “Substitute Variables in Files”.
The substitution is going to be optional, as not all end users of the template will want to do variable substitution.
Now when a user of the step template doesn’t want to perform variable substitution they are leaving the input value blank.
On the surface this is fine, but what i’m seeing is that when a deployment occurs there is a warning shown as follows:
This isn’t ideal, as the intended action I was hoping for that when no value is specified that the substitution wouldn’t run.
I have tested that when I specify a value of “none” that it is passing through as expected:
This is how the parameter is configured:
We are running: