In Azure pipelines, I can conditionally run a specific task/job. However, if I have a Task group, I don't see any option to specify conditions on its execution.
The only way am able to do this is to create a new Job altogher which runs the task group and specify the conditinal expression in the Job.
This has drawback - Jobs are run on different agents. In this case, a new agent is created only to run that task group under a condition. This slows down the deployment
So - question is - how to conditinally execute a Task Group?
Thanks