-
Notifications
You must be signed in to change notification settings - Fork 56
Building Jenkins
Latest installers for Ubuntu and RHEL are available here. Also .deb and .rpm available through release page
General Notes:
- When following the steps below please use a standard permission user unless otherwise specified.
Note: Jenkins(v2.401.1) was verified at the time of creation of these instructions
Download binary(.war) for Jenkins latest version from here. Following are the dependencies to be installed.
-
RHEL (7.8, 7.9, 8.6, 8.8, 9.0, 9.2)
-
With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9)
sudo yum install -y tar wget curl fontconfig
- Download and install IBM Semeru Runtime (Java 11 or 17) from here.
-
With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot)
sudo yum install -y tar wget curl fontconfig
- Download and install Eclipse Adoptium Temurin Runtime (Java 11 or 17) from here.
-
With OpenJDK11
sudo yum install -y java-11-openjdk
-
With OpenJDK17 (Only for RHEL 8.x, 9.x)
sudo yum install -y java-17-openjdk
-
-
SLES (12 SP5, 15 SP4, 15 SP5)
-
With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9)
sudo zypper install -y curl tar wget dejavu-fonts gawk fontconfig gzip
- Download and install IBM Semeru Runtime (Java 11 or 17) from here.
-
With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot)
sudo zypper install -y curl tar wget dejavu-fonts gawk fontconfig gzip
- Download and install Eclipse Adoptium Temurin Runtime (Java 11 or 17) from here.
-
With OpenJDK11
sudo zypper install -y java-11-openjdk
-
With OpenJDK17 (Only for SLES 15 SP4 and SLES 15 SP5)
sudo zypper install -y java-17-openjdk
-
-
Ubuntu (20.04, 22.04, 23.04)
-
With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9)
sudo apt-get update sudo apt-get install -y tar wget libfontconfig1
- Download and install IBM Semeru Runtime (Java 11 or 17) from here.
-
With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot)
sudo apt-get update sudo apt-get install -y tar wget libfontconfig1
- Download and install Eclipse Adoptium Temurin Runtime (Java 11 or 17) from here.
-
With OpenJDK11
sudo apt-get install -y openjdk-11-jre
-
With OpenJDK17
sudo apt-get install -y openjdk-17-jre
-
Note: Versions (v11.0.19 and v17.0.7) of IBM Semeru Runtime and (v11.0.19 and v17.0.7) of Adoptium Temurin Runtime were used at the time of creation of these instructions
-
export JAVA_HOME=<path to Java installation directory> export PATH=$JAVA_HOME/bin:$PATH
-
java -jar jenkins.war
Note: Open http://<ip_address>:8080 in your browser to access Web UI. Make sure firewall isn't blocking this port.
The information provided in this article is accurate at the time of writing, but on-going development in the open-source projects involved may make the information incorrect or obsolete. Please open issue or contact us on IBM Z Community if you have any questions or feedback.