I try Something like in vsts release management:
- Define variable a with : 1,2,3
- Define variable b with : 4,5,6
- Define variable c with : $(a),$(b)
- Use variable c in field Multiplier when i use environment Multi-configuration parallelism capability.
Result : 2 times environments deployed : $(a) and $(b) I want deploy 6 times the envoironment : 1,2,3,4,5 and 6
An Idea to workaround ?
In a build task the variable $(c) is expanded and value is : 1,2,3,4,5,6 ... I don't uderstand why field "Multiplier" not expand the variable
You should use variables
aandbseparate by comma (a,b) for Multipliers option.Only the variables you specifies in Multipliers option, the variables values will be act as a multiplier. So if you use
a,bfor Multipliers option, values from variableaand variablebwill be multiplied as1,4,1,5,1,6,2,4,2,5,2,6,3,4,3,5and3,6(deploy 9 times).If you use only one variable
cfor Multipliers option, vsts only deploy the values (separate by comma) from variablecseparately. So as you found, it only deploy two times as$(a)and$(b).More details, you can also find the examples in Parallel and multiple execution using agent phases.