Skip to content

radarsh/terminator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terminator

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.

Linux Terminal

Screenshot of Ubuntu Terminal

Windows Command Prompt

Screenshot of Windows Command Prompt

Prerequisites

  • Python 3.2 (but 3.4 is recommended)
  • Pip 3

Installation

Install all the requirements.

$ cd terminator
$ sudo pip install -r requirements.txt

Usage

Terminator is highly customisable. It supports the following modes of operation:

To output the default view

$ python -m terminator <jenkins url>

To output another Jenkins view

$ python -m terminator <jenkins url> -v "view_name"

To output a list of specific jobs

$ python -m terminator <jenkins url> -j "job-1 job-2 job-3"

Change the polling interval

$ python -m terminator <jenkins url> -i INTERVAL

Here INTERVAL is in seconds.

If your Jenkins needs authentication

$ python -m terminator <jenkins url> -u USERNAME -p

Override terminal width

$ 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)"

Change the default font

$ 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.

About

An extremely lightweight terminal based Jenkins build monitor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages