huserben / TfsExtensions

Extensions for TFS 2015+ such as custom Widgets (require TFS 2017) and Build Tasks
MIT License
45 stars 22 forks source link

TriggerBuild build parameter with both comma and colon in the value #140

Closed weng271190436 closed 4 years ago

weng271190436 commented 4 years ago

I was looking at this issue: https://github.com/huserben/TfsExtensions/issues/54#issuecomment-368578707

It seems that build parameter like this doesn't work: VariableKey: url1=https:\example.com\abc,url2=https:\example.com\efg,foo=bar

The original issue was concluded because a scenario like the above was thought to be very uncommon but I am running into a scenario like this right now.

weng271190436 commented 4 years ago

I didn't read carefully. I got it working using a json to specify the build parameter and it works.

buildParameters: "{\"VariableKey\":\"url1=https:\example.com\abc,url2=https:\example.com\efg,foo=bar\"}"