An extremely lightweight terminal based Jenkins build monitor written using Python.
Terminator is designed to be run on low powered computers such as Raspberry Pi. Often it is more efficient and practical to use a terminal based build monitor than running a full fledged browser such as Epiphany or Firefox.
- Python 3.2 (but 3.4 is recommended)
- Pip 3
Install all the requirements.
$ cd terminator
$ sudo pip install -r requirements.txt
Terminator is highly customisable. It supports the following modes of operation:
$ python -m terminator <jenkins url>
$ python -m terminator <jenkins url> -v "view_name"
$ python -m terminator <jenkins url> -j "job-1 job-2 job-3"
$ python -m terminator <jenkins url> -i INTERVAL
Here INTERVAL
is in seconds.
$ python -m terminator <jenkins url> -u USERNAME -p
$ python -m terminator <jenkins url> -w WIDTH
Sometimes you might want to use tput cols
to get the terminal width.
$ python -m terminator <jenkins url> -w "$(tput cols)"
$ python -m terminator <jenkins url> -f FONT
FONT
can be one of the pyfiglet fonts. Just make
sure that the font you choose does not break your terminal width.