Human readable display of Mono Jenkins logs.
To set up this project, run:
npm install -g typescript
make npm
Then to build, run:
make
Site will be installed into install/
. Open install/index.html
in a web browser.
To test:
-
Because of a web browser security feature called CORS, the files from Jenkins this web app loads can only be loaded if the app is being served from jenkins.mono-project.com. This means if you want to test the app locally, you will need to disable CORS temporarily. I suggest using the CORS toggle plugin for Chrome.
-
Adding
#!debug
to the URL will run in a debug mode which prints verbose information to the js console.
The project consists of a set of TypeScript files in ts/
and a set of html and resource files in static/
. There is a Makefile which compiles the TypeScript into JavaScript and copies this, plus the static files, into the install/
directory. The HTML files contain JavaScript snippets which configure each individual page by setting constants before the JavaScript files are loaded.
The icons currently being used are from [https://www.iconfinder.com/iconsets/32x32-free-design-icons] and under that license if we post this publicly we have to include a link to [http://www.aha-soft.com/].
The throbber is from http://preloaders.net/ and has no license restrictions.
The Javascript libraries have licenses which mandate attribution:
- JQuery is under the MIT license.
- React is under BSD-3.
- "lz-string" is under the "WTFPL".
- "priorityqueuejs" is under the MIT license