How to add build statistic after building process is finished.
The aim is to add some new statistic to a build after it had been created, in order to be able to create a chart to see how certain parameters change from one build to another.
The key point is that I cannot integrate this logic into build script as it will increase the build time significantly, so I have to add the entries after that.
I've investigated API tried to find some workarounds, but of no use.
I appreciate any help.
TC version "2017.2 EAP (build 49391)"
Thanks!
Please sign in to leave a comment.
Hi,
it's not possible to add statistics to a build after it has finished, you will need to add them during, or right at the end. If you would like to see it as a feature, please feel free to open a feature request in our tracker and make your case for needing this available. Please keep in mind that most of the time statistics should be provided on the fly. If they take so long to generate, you might consider creating a build configuration with a snapshot dependency that will calculate the statistics and then post them on the chain. While they won't be directly available for the build, you can access the build, and its statistics through the dependency.
Our tracker is here: https://youtrack.jetbrains.com/issues/TW