Pessoal os itens dos tópicos não solucionaram meu erro de instalação no Jenkins: Segue erro abaixo.
Sep 12 17:57:16 ubuntu-bionic systemd[1]: jenkins.service: Failed with result 'protocol'. Sep 12 17:57:16 ubuntu-bionic systemd[1]: Failed to start Jenkins Continuous Integration Server. dpkg: error processing package jenkins (--configure): installed jenkins package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: jenkins
Se eu tento Startar o service do jenkins apresenta o erro abaixo:
vagrant@ubuntu-bionic:/vagrant/scripts$ sudo systemctl start jenkins.service Job for jenkins.service failed because the service did not take the steps required by its unit configuration. See "systemctl status jenkins.service" and "journalctl -xe" for details.
log do journalctl -xe
-- Unit jenkins.service has begun starting up. Sep 12 17:59:15 ubuntu-bionic jenkins[21889]: Sep 12, 2022 5:59:15 PM executable.Main verifyJavaVersion Sep 12 17:59:15 ubuntu-bionic jenkins[21889]: SEVERE: Running with Java class version 52, which is older than the Minimum required version 55. See https://jenkins.io/redirect/java-support/ Sep 12 17:59:15 ubuntu-bionic jenkins[21889]: java.lang.UnsupportedClassVersionError: 52.0 Sep 12 17:59:15 ubuntu-bionic jenkins[21889]: at executable.Main.verifyJavaVersion(Main.java:145) Sep 12 17:59:15 ubuntu-bionic jenkins[21889]: at executable.Main.main(Main.java:109) Sep 12 17:59:15 ubuntu-bionic jenkins[21889]: Jenkins requires Java versions [17, 11] but you are running with Java 1.8 from /usr/lib/jvm/java-8-openjdk-amd64/jre Sep 12 17:59:15 ubuntu-bionic jenkins[21889]: java.lang.UnsupportedClassVersionError: 52.0 Sep 12 17:59:15 ubuntu-bionic jenkins[21889]: at executable.Main.verifyJavaVersion(Main.java:145) Sep 12 17:59:15 ubuntu-bionic jenkins[21889]: at executable.Main.main(Main.java:109) Sep 12 17:59:15 ubuntu-bionic systemd[1]: jenkins.service: Failed with result 'protocol'. Sep 12 17:59:15 ubuntu-bionic systemd[1]: Failed to start Jenkins Continuous Integration Server. -- Subject: Unit jenkins.service has failed