Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31064

JRE/JDK >= 7 requirement on Debian Installer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • packaging
    • None
    • Jenkins 1.625.1 on Debian Wheezy 7.8

      I’ve just installed the new instance of Jenkins (1.625.1) on a Debian Wheezy 7.8 and got it silently not starting (however error messages was in the jenkins logs). The container was set up with JDK6 (thus making Jenkins unable to start due to its new requirements). But as you can see, the command line didn’t report any problem :

      root@jenkins:~# service jenkins restart
      [ ok ] Restarting Jenkins Continuous Integration Server: jenkins.
      

      In order to prevent this I guess the produced .deb should now enforce a dependency on an installed version of the JRE/JDK >= 7 (and thus not let jenkins install itself on a system running a previous versions of the JRE/JDK).

      In order to reproduce the problem, here’s my script I used to install the jenkins service inside the debian container :

      apt-get update
      apt-get install openjdk-6-jdk
      
      wget -q -O - http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | apt-key add -
      echo "deb http://pkg.jenkins-ci.org/debian-stable binary/" >> /etc/apt/sources.list
      
      apt-get update
      apt-get install jenkins
      

            svanoort Sam Van Oort
            pfo Pierre Fourés
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: