Hello.
Bitbucket Cloud is useful and helpful for my work.
I found out about this pipe from the URL above and tried to run it like this:
script:
- pipe: atlassian/bitbucket-build-statistics:0.2.0
variables:
BITBUCKET_USERNAME: $BITBUCKET_USERNAME
BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD
And I got the following like statistics:
...
+-----------------------------------------------------------------+
| Bitbucket build statistics |
+---------------------------------------+--------+----------------+
| Repository | Builds | Build Duration |
+---------------------------------------+--------+----------------+
| my-company/my-project | 39 | 02:50:46 |
| my-company/other-project | 0 | 00:00:00 |
| .... | 0 | 00:00:00 |
+---------------------------------------+--------+----------------+
✔ Success!
I had one problem with this one. The pipe outputs the build duration time with the format of `'%H:%M:%S'`, not minutes. The build duration time for the last 30 days in my repository took about 1610 minutes (calculated based on the CLI at https://github.com/atlassian/build-stats), but at this time it shows `02:50:46` using this pipe. It's format looks like that day `%d` output is missing.
I'd like to know the build duration time for each repository without missing anything, so do you have any plan to add the day output to the format, or unifying the display format with minutes?
@yysaki hello! Check out new version 0.2.1 and see if it is fine for you.
Cheers, Galyna
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.