GithubHelp home page GithubHelp logo

elrob / build-mon Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 5.0 385 KB

A simple build monitor to monitor Visual Studio Online builds

License: Eclipse Public License 1.0

Clojure 95.47% JavaScript 0.55% CSS 3.98%

build-mon's Introduction

build-mon

Build Status

A simple build monitor to display the status of Visual Studio Online builds and releases.

Screenshot

Usage

  • Find your account name and project name from your Visual Studio Online url:

      https://{VSO_ACCOUNT_NAME}.visualstudio.com/{VSO_PROJECT_NAME}
    
  • Obtain a personal access token for Visual Studio Online with the following permissions boxes ticked:

    • Build (read) for displaying status of builds
    • Release (read) for displaying status of releases
    • Code (read) for displaying commit messages (optional)

Run with Java

  • Install Java

  • Download the release jar file

  • Run app:

      java -jar build-mon-0.2.0-standalone.jar "{VSO_ACCOUNT_NAME}" "{VSO_PROJECT_NAME}" "{VSO_PERSONAL_ACCESS_TOKEN}"
    
  • Visit localhost:3000

Run with Leiningen

  • Install Leiningen

  • Clone this repository

  • Run app:

      lein run "{VSO_ACCOUNT_NAME}" "{VSO_PROJECT_NAME}" "{VSO_PERSONAL_ACCESS_TOKEN}"
    
  • Visit localhost:3000

Run on Heroku

A Procfile is included for simple deployment to Heroku.

  • Create a new app in Heroku.

  • Push this repository to it.

  • Set the Config Variables in the app settings:

      VSO_ACCOUNT_NAME
      VSO_PROJECT_NAME
      VSO_PERSONAL_ACCESS_TOKEN
    

Development

Run tests:

lein midje [:autotest]

Run code analysis and tests:

lein test

TODO:

  • reinstate error handling on front end (was removed from refresh.js) - VSO api sometimes goes down and it is useful to get some feedback in the browser

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.