Build dashboard / Build Time Trend / Stats / Analytics

#1

A dashboard view containing average build duration, % successful, and other metrics would be nice.

0 Likes

Bitrise Public API
Number of monthly builds
Add more endpoint focused in dashboard with totals
Build Time Trend
Build Time Trend
#2

Awesome idea and thanks for the link!

Note: once the Public API is finalized adding support to https://github.com/rouanw/build-window should be possible and hopefully a simple task.

@bootstraponline if you have the time to list what endpoints would be needed for this it’d be awesome and we could prioritize those endpoints.

0 Likes

#3

I think all the necessary endpoints exist (app enumeration, build duration, build success). I’m looking into options for sending this data to a dashboard service instead of writing something custom. There are quite a few projects in this space.

2 Likes

#4

Could you please clarify this a bit? Do you mean a webhook, sending these events from bitrise.io to the service?
If all the endpoints are available, what should we provide for this?

0 Likes

#5

I was hoping bitrise might add support directly in the web UI. A stats page would display metrics related to pass/failure and build duration.

I think I figured out a good solution for building out a custom dashboard though. I will post back once it’s working.

0 Likes

#6

Ahh, OK, got it. I thought this request is about an integration with an existing system, like the ones you linked, but this is clear now that this request is about a built in feature. Sorry it took so long to realize :slight_smile:

Awesome, let us know if we can help with anything! :wink:

0 Likes

#7

I used the bitrise API along with the sheets v4 API
and Google data Studio to build a custom dashboard.

This workflow is nice since there’s no server to maintain and the raw data is in a spreadsheet.

It would be nice if we could attach metadata to builds (for example the test count). It’s difficult to determine from the existing API how many tests we have. The lack of data limits the visualization possibilities. The existing information is good for measuring build success and duration.

1 Like

#8

Great idea, but a bit out of scope for this #feature-request I think. We should either modify the #feature-request’s title & description or create a new one for the metadata, as I believe this would be useful outside of a dashboard context too.

0 Likes

#9

https://www.youtube.com/watch?v=Cmj_Qd2Hrgs is a pretty cool demo of what a built in dashboard looks like on Sauce Labs. This could even be an additional paid for feature. :slight_smile:

1 Like

#10

It would be nice if we can see build duration trend. I’ve seen such feature in Jenkins.

3 Likes

#11

@toshi0383 merged your #feature-request here - please vote on this one :wink:

2 Likes

#12

another example:

https://github.com/PiXeL16/buddybuild-dashboard/blob/master/screenshot.png

1 Like

#13

@bootstraponline thanks for the link / example! Just a note: I believe our API now has all the data to do something like this, so this can now be implemented by anyone. The feature request in itself is for a built in way of course, just wanted to note that in case someone desperately needs this right now it should be possible to do, using the API (just like the one you linked @bootstraponline).

1 Like

#14

This is something we would really like to see as well. Has anyone implemented a dashboard based on the API already?
It would be great if you could also trigger workflows from the dashboard as well (e.g. a project manager could trigger a TestFlight build & upload).

1 Like

#15

I’ve implemented two. First I started with data studio. That didn’t scale well as we have a bunch of jobs on bitrise. I’m currently using a Google sheets based report. Bitrise API works great.

1 Like

#16

https://wiki.saucelabs.com/pages/viewpage.action?pageId=71998324 is a great example of an enterprise test dashboard.

2 Likes

#17

I’d love if anyone had instructions on how to put a simple dashboard together. I’d love to get my build success rate and my test success/failures there.

0 Likes

#18

@coltonidle you can use the API to create one: http://devcenter.bitrise.io/api/v0.1/

0 Likes

#19

Thanks. Good to see a 0.1 is available. Since I’m new to bitrise. What’s the typical way to display unit test pass/fails with my team? Same with something like an Android lint check sample? Is this something I would get through the api and input into a dashboard?

0 Likes

#20

You mean test results in a single build or stats of multiple builds?

0 Likes