So, here is what I know:
- I can get the build data, there I can find the
logsproperty with a url. - Accessing the logs url returns an array of links to the various parts of the build log (presumably a part per build task in the order of the latter in the build definition)
- The url in each part gets me the text logged by the respective task.
- I can parse it and everything matching
##[error]corresponds to an error logged on the build summary page.
I am curious if this is the best way to do it if I only need to get the build errors. I do not need the whole log.