Gist for https://youtu.be/dxXEjIsjW6s
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
From Jenkins Opensuse Packages:
- Create RPM repository
zypper addrepo -f https://pkg.jenkins.io/opensuse-stable/ jenkins
- Install Jenkins
zypper install 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