I'm trying to run Jenkins installed from the official Jenkins repository.
SO far no Jenkins installation has worked out of the box and my mention that I can install a fresh system was an offering to you to replay the installation and make sure that no changes remain and I have the full installation trace.
I'm trying to run Jenkins installed from the official Jenkins repository.
SO far no Jenkins installation has worked out of the box and my mention that I can install a fresh system was an offering to you to replay the installation and make sure that no changes remain and I have the full installation trace.
Here is what I did on a fresh 18.04 system(copy from https:/ /jenkins. io/doc/ book/installing /#debian- ubuntu):
apt install openjdk- 8-jre-headless
apt install libjna-java
wget -q -O - https:/ /pkg.jenkins. io/debian/ jenkins. io.key | sudo apt-key add - pkg.jenkins. io/debian- stable binary/ > /etc/apt/ sources. list.d/ jenkins. list'
sudo sh -c 'echo deb http://
sudo apt-get update
sudo apt-get install jenkins
After installation and initial configuration the url
http:// xxx:8080/ restart
will give the following message:
Jenkins cannot restart itself as currently configured.
If the following link is added, everything works:
/usr/lib/ s390x-linux- gnu/libjnidispa tch.so -> /usr/lib/ s390x-linux- gnu/jni/ libjnidispatch. system. so
It is important to note that some/most parts of jna can still work with jni being unavailable, it is only required for some of the functionality.
Similar issues (with a different program) have been discussed here: https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 858876