All Projects β†’ atlassian β†’ build-stats

atlassian / build-stats

Licence: MIT license
πŸ† get the build stats for pipelines πŸ†

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to build-stats

CI-Utils
Utilities for running Common Lisp on CI platforms
Stars: ✭ 18 (-77.22%)
Mutual labels:  travis-ci, bitbucket-pipelines
Node Build Monitor
A Build Monitor written in Node.js, which supports several build services and can be easily extended.
Stars: ✭ 336 (+325.32%)
Mutual labels:  build, travis-ci
unity-ci-test
Example Unity Project using TravisCI
Stars: ✭ 35 (-55.7%)
Mutual labels:  build, travis-ci
Cargo Make
Rust task runner and build tool.
Stars: ✭ 895 (+1032.91%)
Mutual labels:  build, travis-ci
build-status
Emacs minor mode that monitors and shows a buffer's build status in the mode line.
Stars: ✭ 26 (-67.09%)
Mutual labels:  build, travis-ci
Build Harness
πŸ€–Collection of Makefiles to facilitate building Golang projects, Dockerfiles, Helm charts, and more
Stars: ✭ 236 (+198.73%)
Mutual labels:  build, travis-ci
danger-swift-xcodesummary
A Danger-Swift plugin that adds build errors, warnings and unit tests results generated from xcodebuild to your Danger report
Stars: ✭ 72 (-8.86%)
Mutual labels:  build
Public
The game is about a group of "terrorists" who have traitors among them, out to kill everyone who's not a traitor.
Stars: ✭ 94 (+18.99%)
Mutual labels:  travis-ci
ci-skip
CI skip comment
Stars: ✭ 35 (-55.7%)
Mutual labels:  travis-ci
deblibs-gradle-plugin
A Gradle plugin that creates Github issue and Slack message for outdated dependencies so they can easily be tracked and manually upgraded.
Stars: ✭ 73 (-7.59%)
Mutual labels:  build
ansible-traininglab
Dockerized Ansible Training Lab
Stars: ✭ 16 (-79.75%)
Mutual labels:  travis-ci
html-website-template
An opinionated starting point and build system for awesome, collaboratively-edited HTML websites
Stars: ✭ 16 (-79.75%)
Mutual labels:  travis-ci
xcode-configure
This command can generate makefile to build xcode project in command line just like <configure & make & make install> in C/C++ language world.
Stars: ✭ 34 (-56.96%)
Mutual labels:  build
aws-python-utilities
Python utilities for AWS related tasks.
Stars: ✭ 34 (-56.96%)
Mutual labels:  performance-analysis
repoxplorer
RepoXplorer - Git stats explorer
Stars: ✭ 109 (+37.97%)
Mutual labels:  stats
react-testing-mocha-chai-enzyme
A solid test setup for React components with Mocha, Chai, Sinon, Enzyme in a Webpack/Babel application.
Stars: ✭ 48 (-39.24%)
Mutual labels:  travis-ci
AntiBot
Lightweight BungeeCord plugin that aims to stop attacks on your server quickly and efficiently.
Stars: ✭ 42 (-46.84%)
Mutual labels:  stats
buildroot
Configure and build dahliaOS Linux-based builds
Stars: ✭ 56 (-29.11%)
Mutual labels:  build
UnityBuildManager
Utility for running builds sequence & pushing them to markets & keeping changelog
Stars: ✭ 53 (-32.91%)
Mutual labels:  build
docker-php
Docker build php development environment
Stars: ✭ 40 (-49.37%)
Mutual labels:  build

build-stats


Get the stats of your pipeline.

preview

Install

yarn global add build-stats

Example

Download pipelines builds history to .data folder:

build-stats travis:boltpkg/bolt download

Calculate monthly average build time and success rate of a repo over the last year:

build-stats travis:boltpkg/bolt calculate

Calculate daily average build time and success rate of a repo over the last month:

build-stats travis:boltpkg/bolt calculate --period 1 --last 30

Calculate daily average build time and success rate of the master branch of a repo over the last 90 days:

$ build-stats travis:boltpkg/bolt calculate --branch master --period 1 --last 90

Display build history:

$ build-stats travis:boltpkg/bolt history

Display build history for master branch for builds that were either successul or failed:

$ build-stats travis:boltpkg/bolt history --branch master --result SUCCESSFUL,FAILED

Delete the downloaded history of repository

$ build-stats travis:boltpkg/bolt clean

Usage

build-stats <service>:<user>/<repo> <command> [...options]
  • service: CI Service (travis or bitbucket or bamboo)
  • user/repo: Project specifier (Example: https://travis-ci.org/boltpkg/bolt β†’ boltpkg/bolt)

**Note: In case for Bamboo, user is the url to the Bamboo server and repo is the plankey of the project.

Commands

download

Download the build history into a local .data cache.

  • --auth <token>: Authentication token to access builds on private repository. Please read GENERATING_AUTH_TOKENS.md to see how to generate authentication token.

calculate

Calculate the mean and see the stats of build history

  • --period <days>: How many days in a time period to calculate the build stats for (Default: 1)
  • --last <days>: How many periods to calculate back to (Default: 30)
  • --threshold <minutes>: Time under which builds graph is shown in green color. (Default: mean of all the builds in that period)

history

Display build history

  • --branch <branchName>: Name of the branch to show history for (Defualt: (*))
  • --result <SUCCESSFUL | FAILED | STOPPPED | any>: Result of the branch to show history for. We can display history for multiple results by seperating them with a comma(,). To see history for builds that were either successful or failed use --result SUCCESSFUL,FAILED (Default: (*))
  • --threshold <minutes>: Time under which builds graph is shown in green color. (Default: mean of all the builds in that period)

success

Display the number of success and failed builds

  • --period <days>: How many days in a time period to display success stats for (Default: 1)
  • --last <days>: How many periods to display success stats for (Default: 30)

clean

Delete the downloaded history of repository

cache

Outputs the directory where data will be cached

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].