Jenkins failed to start in linux

后端 未结 6 1014
北荒
北荒 2021-02-12 10:30

go to run jenkins after doing an upgrade, and get the following:

start jenkins
start: Job failed to start

That\'s it...nothing shows up in jenk

6条回答
  •  囚心锁ツ
    2021-02-12 11:22

    Ubuntu 18.04 LTS use Java 9 as default java

    Jenkins 2.107.2 still use Java 8

    [Solution]

    Install Java 8 before install Jenkins

    sudo add-apt-repository ppa:webupd8team/java
    sudo apt install oracle-java8-installer
    wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
    sudo apt-add-repository "deb https://pkg.jenkins.io/debian-stable binary/"
    sudo apt install jenkins
    

    See https://stackoverflow.com/a/49937744/900684

提交回复
热议问题