Skip to content

Building Jenkins

aborkar-ibm edited this page Aug 17, 2022 · 81 revisions

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.346.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.4, 8.6, 9.0)

    • With IBM SDK

       sudo yum install -y tar wget
      
      • RHEL (7.8, 7.9, 8.4, 8.6):
        sudo yum install -y java-1.8.0-ibm
        
      • RHEL 9.0:
        Download and install IBM SDK Version 8 from here.
    • With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9)

       sudo yum install -y tar wget curl fontconfig
      
      • Download and install IBM Semeru Runtime (Java 8 or 11) 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) from here.
  • SLES (12 SP5, 15 SP3, 15 SP4)

    • With IBM SDK

       sudo zypper install -y java-1_8_0-ibm tar wget dejavu-fonts gawk
      
    • 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 8 or 11) 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) from here.
  • Ubuntu (18.04, 20.04, 22.04)

    • With IBM SDK

       sudo apt-get update
       sudo apt-get install -y wget
      
      • Download and install IBM Java 8 from here.
    • 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 8 or 11) 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) from here.
  • Set environment variables

     export JAVA_HOME=<path to Java installation directory>
     export PATH=$JAVA_HOME/bin:$PATH
  • Start Jenkins server

     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.

References:

Clone this wiki locally