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

Cannot upgrade to 1.560 on debian using deb package

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • None

      There is a bug in debian/debian/jenkins.postinst. If JENKINS_USER and/or JENKINS_GROUP are created before run it, jenkins.postinst will exits with status code 1.

      The cause of this bug is that addgroup or adduser always run even if JENKINS_USER or JENKINS_GROUP exists on system.

      This bug is mixed at this commit: https://github.com/jenkinsci/jenkins/commit/7216aab0d3f7215be7d71109936ad4b3aa0a583b#diff-9e43a327b861c17bacb4b0991828debd

          [JENKINS-22715] Cannot upgrade to 1.560 on debian using deb package

          Code changed in jenkins
          User: Oliver Gondža
          Path:
          debian/debian/jenkins.postinst
          http://jenkins-ci.org/commit/jenkins/05ae0809cccaa1ea714a5b8685e7d996e0e9b3a5
          Log:
          [FIXED JENKINS-22715] Merge pull request #1208 from mika/mika/fix_debian_upgrades

          Debian postinst: check for present user/group before adding them

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: debian/debian/jenkins.postinst http://jenkins-ci.org/commit/jenkins/05ae0809cccaa1ea714a5b8685e7d996e0e9b3a5 Log: [FIXED JENKINS-22715] Merge pull request #1208 from mika/mika/fix_debian_upgrades Debian postinst: check for present user/group before adding them

            Unassigned Unassigned
            yosida95 Kohei YOSHIDA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: