I've created a Task group to encapsulate some functionality. If I use a regular build, I can add the task group through the normal wizard.
Unfortunately, I need to use the task group inside a YAML build. I can't view the YAML of the "old" build to view how this should gonna happen.
The things I've tried:
- task: TaskGroupName@1
displayName: 'RunTests'
inputs:
TestConfiguration: 'some.xml'
TestCaseFilter: $(TestCaseFilter)
UnitTestFolders: $(UnitTestFolders)
According to the docs, Task groups are not supported in the YAML pipelines.
Instead, in that case you can use templates.
Documentation for templates: See here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With