I am attempting to read a variable from a Variable Group in my YAML file and passing it on to a template file that consumes that value. The template file defines this parameter as a number and the variable group does indeed store this as a number.
Here I have my pipeline that is invoking the template stage-run-tests with the 4 parameters, 3 of which are read from a variable group.
The template accepts the 4 parameters and have them typed as number
However, when I try running the pipeline, I get an error stating that the parameter was expecting a number and what was passed in was not a number.
If I remove the strong typing and I simply use the parameters as is, then everything work fine.
Can anyone help me with what's happening here? What should I do to ensure that I can have the parameters typed and still have the pipeline pass in the value from the variable group?