Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
go
 
 
 
 
 
 

buildviz

Transparency for your build pipeline's results and runtime.

The most important things cannot be measured.

Your build pipeline can.

  • Anonymous

The What

Buildviz provides graphs detailing runtime behaviour, failures and stability of the pipeline, answering a multitude of questions in the hopes of improving your pipeline.

All it needs is your build history including test results.

Screenshot

Usage

$ curl -OL https://github.com/cburgmer/buildviz/releases/download/0.14.1/buildviz-0.14.1-standalone.jar
$ java -jar buildviz-0.14.1-standalone.jar

Now, buildviz takes in new build results via PUT to /builds. Some suggestions how to set it up:

DIY

For every build PUT JSON data to http://localhost:3000/builds/$JOB_NAME/$BUILD_ID, for example:

{
  "start": 1451449853542,
  "end": 1451449870555,
  "outcome": "pass", /* or "fail" */
  "inputs": [{
    "revision": "1eadcdd4d35f9a",
    "sourceId": "git@github.com:cburgmer/buildviz.git"
  }],
  "triggeredBy": [{
    "jobName": "Test",
    "buildId": "42"
  }]
}

The build's start is required, all other values are optional.

JUnit XML (or JSON) formatted test results can be PUT to http://localhost:3000/builds/$JOB_NAME/$BUILD_ID/testresults

Sync from supported build servers

E.g. sync existing history from GoCD (see --help for details):

$ java -cp buildviz-0.14.1-standalone.jar buildviz.go.sync http://$USER:$PW@localhost:8153/go

There's support for Jenkins, GoCD and TeamCity.

More

FAQ

You might also like:

Reach out to @cburgmer for feedback and ideas.