Skip to content

Instantly share code, notes, and snippets.

@darinpope
Last active October 12, 2023 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darinpope/562c51e0bd3e4e1b991c2fb5cb383b41 to your computer and use it in GitHub Desktop.
Save darinpope/562c51e0bd3e4e1b991c2fb5cb383b41 to your computer and use it in GitHub Desktop.
How To Install Jenkins on openSUSE 15.4

Gist for https://youtu.be/dxXEjIsjW6s

Install Temurin JDK

From openSUSE/SLES Instructions:

  • Create RPM repository

    • zypper ar -f https://packages.adoptium.net/artifactory/rpm/opensuse/$(. /etc/os-release; echo $VERSION_ID)/$(uname -m) adoptium
  • Install Temurin 17

    • zypper install temurin-17-jdk

Install Jenkins

From Jenkins Opensuse Packages:

  • Create RPM repository
    • zypper addrepo -f https://pkg.jenkins.io/opensuse-stable/ jenkins
  • Install Jenkins
    • zypper install jenkins

Configure Jenkins

  • systemctl --full status jenkins
  • systemctl edit jenkins
[Service]
Environment="JAVA_OPTS=-Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/var/cache/jenkins/tmp/ -Dorg.apache.commons.jelly.tags.fmt.timeZone=America/New_York -Duser.timezone=America/New_York"
Environment="JENKINS_OPTS=--pluginroot=/var/cache/jenkins/plugins"
  • mkdir -p /var/cache/jenkins/tmp
  • chown -R jenkins:jenkins /var/cache/jenkins/tmp
  • systemctl show jenkins
  • systemd-analyze verify jenkins.service
  • systemctl start jenkins
  • systemctl --full status jenkins
  • journalctl -u jenkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment