Create a new build to generate a report for build stats across TeamCity in PDF
Well, the title says it all.
I want to generate a pdf report for stats like build frequency, failed builds, build system issues, etc.
I cannot seem to find any resources/previous examples on this.
Can anyone please guide through this?
Please sign in to leave a comment.
Hello,
Currently there are no examples or documentation on how to generate such reports. You could try to export the data you want to present in your reports directly from the TeamCity database or via the REST API , and pass it to a suitable command line tool for generating pdfs. You could do such tasks using the Command line build runner. Regarding the first option (using the TeamCity DB), you might want to check the table history , that as the name implies, contains all builds history, and the table light_history , that holds records from history that are moved during cleanup (removed builds, etc).
Thank you,
Guilherme