huserben / TfsExtensions

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

Wait for build to finish error #32

Closed Serdfd closed 6 years ago

Serdfd commented 6 years ago

Hi, I am trying to use this extension and the trigger task work great, but when I add the "Wait for Build(s) to finish" always get the next error:

Cannot read property 'split' of undefined

I didnt change anything in the configuration, just change Authentication method to OAuth Token.

Hope you can help me. Thanks.

huserben commented 6 years ago

Hi

thank you for your feedback.

did you store the triggered build id in the variable? that's an option of the trigger task under advanced configuration.

Serdfd commented 6 years ago

Oh, I didnt know about that option, my bad... its works know :) Thanks for your replay and your work!

huserben commented 6 years ago

Hi

ok very good. l will leave the issue open until I added a better check inthe task that will produce a better error message.

Edit:
Version 2.4.0 now will display a proper error message in case there is no build id specified.