Building Jenkins - linux-on-ibm-z/docs GitHub Wiki
Building Jenkins
General Notes:
-
When following the steps below please use a standard permission user unless otherwise specified.
-
Latest installers for Ubuntu and RHEL are available here. Also .deb and .rpm available through release page.
Note: Jenkins version 2.568.2 was verified at the time of creation of these instructions
Download binary(.war) for Jenkins latest version from here.
1. Install Dependencies
-
RHEL 8.10
sudo yum install -y tar wget curl lsof which fontconfig -
RHEL (9.6, 9.7, 9.8)
sudo yum install -y --allowerasing tar wget curl lsof which fontconfig -
RHEL (10.0, 10.1, 10.2)
sudo yum install -y tar wget curl lsof which fontconfig -
SLES (15 SP7, 16)
sudo zypper install -y tar wget curl lsof which gawk fontconfig dejavu-fonts -
Ubuntu (22.04, 24.04)
sudo apt-get update sudo apt-get install -y tar wget curl lsof coreutils fontconfig
2. Install Java
-
With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9).
- Download and install IBM Semeru Runtime (Java 21 or Java 25) on all above mentioned distributions from here.
-
With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot)
- Download and install Eclipse Adoptium Temurin Runtime (Java 21 or Java 25) on all above mentioned distributions from here.
-
With OpenJDK 21
- RHEL (8.10, 9.6, 9.7, 9.8, 10.0, 10.1, 10.2)
sudo yum install -y java-21-openjdk - Ubuntu (22.04, 24.04)
sudo apt-get install -y openjdk-21-jre - SLES (15 SP7, 16)
sudo zypper install -y java-21-openjdk
- RHEL (8.10, 9.6, 9.7, 9.8, 10.0, 10.1, 10.2)
-
With OpenJDK 25
- RHEL (9.6, 9.7, 9.8, 10.0, 10.1, 10.2)
sudo yum install -y java-25-openjdk - Ubuntu (22.04, 24.04)
sudo apt-get install -y openjdk-25-jre - SLES (15 SP7, 16)
sudo zypper install -y java-25-openjdk
- RHEL (9.6, 9.7, 9.8, 10.0, 10.1, 10.2)
Note: Versions (v21.0.10_1 and v25.0.2_1) of IBM Semeru Runtime and (v21.0.10_7 and v25.0.2-10) of Adoptium Temurin Runtime were used at the time of creation of these instructions
3. Set environment variables
export JAVA_HOME=<path to Java installation directory>
export PATH=$JAVA_HOME/bin:$PATH
4. Start Jenkins server (Optional)
java -jar jenkins.war
For more details, refer to the official Jenkins documentation here.