huserben / TfsExtensions

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

Add option to specify a delay for each build triggered #84

Closed huserben closed 5 years ago

huserben commented 5 years ago

Issue created from Review on Marketplace: great tool, like a lot, however i would like to suggest on improvement.

I'm working with parallel builds, and, when i trigger "n" builds at the same time, I need to give some seconds between each one. So, my request of improvement is to add a new parameter of how many seconds between each build to be triggered i would insert.

I saw this is possible in taskrunner.ts, in method triggerBuilds().

Is it possible a new version with this improve?

huserben commented 5 years ago

One question for my understanding, could maybe be clarified why there needs to be a delay? Is it a general thing of TFS/VSTS that it can't be handled or is it in your scenario just necessary for some reason?