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

OpenSUSE Command "service jenkins status" Does Not Work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • packaging
    • None
    • OpenSuse Docker image version 13.2
      opensuse:13.2

      Jenkins 1.625.x installing native SuSe RPM
    • 2.335

      Start your SuSe installer image:
      docker run -it --rm opensuse:13.2 /bin/bash

      Add the repo:
      zypper addrepo -f http://pkg.jenkins-ci.org/opensuse/ jenkins

      Install jenkins (manual approvals required here):
      zypper in jenkins

      Try to start jenkins:
      service jenkins start

      This will return an error, per JENKINS-31348. However Jenkins will start up (verifiable by ps aux | grep java).

      If you do 'service jenkins status' it will not show successful startup, and running echo "$?" will show a nonzero return code (despite service having started on some level).

      Example:
      Checking for service Jenkins unused

            basil Basil Crow
            svanoort Sam Van Oort
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: