#1202  Include build statistics
Closed
Prabir Shrestha opened 1 year ago

Allow to easily see the overall health and time for builds.

Robin Shen commented 1 year ago

This is already possible:

2023-02-14_12-20-09.png

Robin Shen commented 1 year ago

Sorry this is for statistics. Please ignore my comment.

Unknown commented 1 year ago

@prabirshrestha Could you elaborate on what statistics you are looking for? How you want them to be viewed or accessed? Its hard to determine what you are suggesting with a one line comment.

Prabir Shrestha commented 1 year ago

Here are the ones I'm interested in.

  • total build time (this allows me to know if the builds can be optimized)
  • build success/failure rates (check if my builds are flaky)
  • tests success/failure rates(Allows me to see if there are similar tests failing over time as it could be flaky)

You can get few more ideas from here: https://learn.microsoft.com/en-us/azure/devops/pipelines/reports/pipelinereport?view=azure-devops

Unknown commented 1 year ago

@prabirshrestha Sorry to be the person to point it out, but there is a typo in the issue name, it is very annoying 😟 (sorry)

Back on topic, these statistics would be useful but it would be a lot of work on Robin's part, as it would require a schema change, and then making a page to display them.

I believe you would be able to write a script to do this for you using the Onedev API. Onedev already allows you to see the build time on a single build, and whether it failed or succeeded, fetch all the IDs of builds, sum them and then find the mean build time, along with finding the success rates.

Robin Shen changed title 1 year ago
Previous Value Current Value
Include build statstics
Include build statistics
Robin Shen changed state to 'Closed' 4 months ago
Previous Value Current Value
Open
Closed
Robin Shen commented 4 months ago

This is closed as a duplication with issue #1488

issue 1 of 1
Type
New Feature
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
onedev/server#1202
Please wait...
Page is in error, reload to recover