Installation¶
Install From Python Package Index (PYPI) Using pip (Recommended)¶
- Ensure python is installed and has compatible version
python --version- If it is not, install it: Guide
- Ensure that
pipis installedpip --version- If it is not, install it: Guide
- Install
yojenkinsfrom PYPIpip install yojenkinspip install "yojenkins[sound]"(With monitor sound effects)
Install Using the Included setup.py¶
- Download/Clone this entire
yojenkinsGitHub repository - Copy it to some temporary location on the computer you wish to install
yojenkinson (ie. Downloads) - Open up a terminal on your computer
- Use the
cdandcd ..command to change directory into the newyojenkinsdirectory- Example:
cd /home/username/Downloads/yojenkins
- Example:
- Ensure python is installed and has compatible version
python --version- If it is not, install it: Guide
- Ensure that
pipis installedpip --version- If it is not, install it: Guide
- Ensure that
pip,setuptools,wheelare installed an up to datepython -m pip install --upgrade pip setuptools wheel
- Install
yojenkinsfrom PYPIpython setup.py install
Download Pre-compiled Binary¶
- Go to the releases page of the
yojenkinsGitHub repository: - If available, download the latest pre-compiled binary for your operating system
- Example:
yojenkins-0.0.00-linux-x86_64, for Linux OS 64-bit Architecture
- Example:
- Move the binary to the a place where you can access it from the command line (ie. on
PATH)
Note
Not all operating systems and architectures are supported. As of now, only select and/or popular ones are.
System Dependencies For Sound¶
The following system dependencies are needed for yojenkins to be able to play sound effects.
Sound effects are used for job and build monitor.
If you do not install these dependencies, yojenkins will still be able to function,
however it will not play any sound effects.
| Platform | Command |
|---|---|
| MacOS and Windows | Not needed |
| Ubuntu | sudo apt update && apt-get install -y python3-dev python3-pip libasound2-dev |
| CentOS | sudo yum update && yum install -y python3-devel gcc alsa-lib-devel |