Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including jenkins-dashboard with all npm packages installed. Try it out:

var jenkinsDashboard = require("jenkins-dashboard")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

jenkins-dashboard v0.0.1

jenkins-dashboard

Build Status

Example Dashboard

Usage

  1. clone this repository
  2. run npm start

Environment Variables

Use environment variables to run the process e.g.

JENKINS_URL=[url-to-your-server] JOBS_FILTER=[filter] npm start

JENKINS_URL

(required) Pretty obvious but just the root url to your jenkins server (e.g. jenkins.workplace.com)

JOBS_FILTER

(optional) Regex to pick the jobs you want to display

Todo

  1. Make it handle any number of jobs and resize the grid accordingly
  2. better error handling
  3. tests
  4. make it a command line tool so you could run jenkins-dash -f=[filter] [url]
  5. add the last built time to the jobs
  6. get it to handle build pipelines
  7. consider using json to pick jobs to display

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free