- Notifications
You must be signed in to change notification settings - Fork9
Transparency for your build pipeline's results and runtime
License
cburgmer/buildviz
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Transparency for your build pipeline's results and runtime.
The most important things cannot be measured.
Your build pipeline can.
- Anonymous
Buildviz provides graphs detailing runtime behaviour, failures and stability ofthe pipeline, answering amultitude of questionsin the hopes of improving your pipeline.
All it needs is your build history including test results.
Live example:https://buildviz.cburgmer.space/
$ curl -OL https://github.com/cburgmer/buildviz/releases/download/0.15.1/buildviz-0.15.1-standalone.jar$ java -jar buildviz-0.15.1-standalone.jar
Now, buildviz takes in build data viaPOST
to/builds
. Some suggestions howto set it up:
Buildviz understands build data extracted bybuild-facts.Currently the following CI/CD systems aresupported:
- Concourse
- GoCD
- Jenkins
- TeamCity
Example:
# After starting up Buildviz locally, do:$ curl -LO https://github.com/cburgmer/build-facts/releases/download/0.5.4/build-facts-0.5.4-standalone.jar$ java -jar build-facts-0.5.4-standalone.jar jenkins http://localhost:8080 --state state.json \ | curl -v -H "Content-type: text/plain" -d@- 'http://localhost:3000/builds'
You can also roll your own. For every buildPOST
JSON data tohttp://localhost:3000/builds/
,for example:
{"jobName":"my job","buildId":"42""start":1451449853542,"end":1451449870555,"outcome":"pass","inputs":[{"revision":"1eadcdd4d35f9a","sourceId":"git@github.com:cburgmer/buildviz.git"}],"triggeredBy":[{"jobName":"Test","buildId":"42"}],"testResults":[{"name":"Test Suite","children":[{"classname":"some.class","name":"A Test","runtime":2,"status":"pass"}]}]}
The build'sjobName
,buildId
, andstart
are required, all other values areoptional. Buildviz followsthis JSON schema.
JUnit XML (or JSON)formatted test results can bePUT
tohttp://localhost:3000/builds/$JOB_NAME/$BUILD_ID/testresults
You might also like:
- Polaris, automated tracking of engineering excellence fitness metrics.
- Metrik, calculates thefour key metrics based on CI/CD build data.
- Four Keys, measures the four key metrics.
- HeartBeat, calculates delivery metrics from CI/CD build data, revision control and project planning tools.
- Kuona project for IT Analytics, provides a dashboard on data from various sources.
- Test Trend Analyzer, consumes test results for test trends.
- TRT, consumes test results for test trends.
- GoCD's analytics extension, collects and displays build metrics for GoCD.
- pulse, support the continuous improvement of your engineering teams with data-driven insights.
- Jellyfish, translate and maximize the business impact of engineering.
- BuildPulse, automatically detects flaky tests.
Reach out to@cburgmer for feedback and ideas.
About
Transparency for your build pipeline's results and runtime