Closed KaiWalter closed 5 years ago
Looking into it now
How can I help here?
Looking at the AzD API type is not even supported because it does not have XAML builds anymore. This is a TFS only switch. I am using TFS 2017 to do some more testing.
OK. At this point I think we just remove the Type parameter. I can't find on Docs.com any mention of this parameter anymore. It might have been there a long time ago but as of 4.1 which is the oldest version on docs it is not there.
The "previous-apis" are over here https://docs.microsoft.com/en-us/azure/devops/integrate/previous-apis/build/definitions?view=tfs-2017 It is pretty annoying that they're not all in one place ☹️
Nice! I had no idea where the old APIs were. Thanks.
My version of TFS 2017 is running version 3.x of the API. At this point I am going to drop support for the 2.0 API that includes that parameter.
Steps to reproduce
I extended integration test
to check that the correct build definitions types are returned.
Expected behavior
I expected that these tests pass
Actual behavior
Discussion
@DarqueWarrior the API call does not consider the type always returns 2 build definitions:
Can you confirm this? Is that the intended behavior of the API? Are buildDefinition.type "build" == "xaml"?