Can anybody give an optimized solution to find the different failure counts in TeamCity?
I searched the forum and find two solutions.(but both are not direct ones, but have to give some process logics)
2) getEntriesSince method of BuildHistory service.
From the forum itself it is known that processEntries is not so good in performance wise.
getEntriesSince(@Nullable SBuild sinceBuildInclusive,@NotNull BuildType buildType)
Returns builds of the specified configuration started after the
specified build (including the specified build), ordered by changes.
History builds which contain changes older than in sinceBuildInclusive
are not included.
I want to find the different failures in a particular date range. So
getEntriesSince method will not be helpful in this scenario.
I can do this by the traversal of all builds and buildhistory. But it is very slow.
Can anybody have idea how to get it so that I can avid the traversal of all builds and buildhistory?
thanks in advance.