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

RPM install jenkins.repo file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: packaging
    • Labels:
      None
    • Similar Issues:

      Description

      The RPM spec file installs a yum repo file, if it isn't already there. This causes issues when used in an enterprise environment, where you don't want the system to go to outside sources to get updates.

      Suggested installation instructions for red hat systems is to install the repo file manually & the key, and then use yum to install, so this feature isn't even used in most cases: the file is only installed if you don't already have it in place. If you install from the repo in the first place, you've already got the file, and if you don't, you probably don't want the repo installed.

      You also don't install the key, so it will likely cause failures if someone hasn't already imported the key.

      Reference:

      https://github.com/jenkinsci/jenkins/blob/master/rpm/SPECS/jenkins.spec#L87
      https://github.com/jenkinsci/jenkins/blob/master/rpm/SPECS/jenkins.spec#L145

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Matthew Barr
            Path:
            rpm/SPECS/jenkins.spec
            http://jenkins-ci.org/commit/jenkins/a08b16d281d9f7a34f3cffaefdc21a941d71aebf
            Log:
            Remove repo file from RPM. https://issues.jenkins-ci.org/browse/JENKINS-22690

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Matthew Barr Path: rpm/SPECS/jenkins.spec http://jenkins-ci.org/commit/jenkins/a08b16d281d9f7a34f3cffaefdc21a941d71aebf Log: Remove repo file from RPM. https://issues.jenkins-ci.org/browse/JENKINS-22690
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            rpm/SPECS/jenkins.spec
            http://jenkins-ci.org/commit/jenkins/a3d07dcb19abd04ed7acf3541c0ac749e0a02902
            Log:
            Merge pull request #1202 from matthewbarr/JENKINS-22690

            [FIXED JENKINS-22690] Remove repo file from RPM

            Compare: https://github.com/jenkinsci/jenkins/compare/0f6258b6cbdf...a3d07dcb19ab

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: rpm/SPECS/jenkins.spec http://jenkins-ci.org/commit/jenkins/a3d07dcb19abd04ed7acf3541c0ac749e0a02902 Log: Merge pull request #1202 from matthewbarr/ JENKINS-22690 [FIXED JENKINS-22690] Remove repo file from RPM Compare: https://github.com/jenkinsci/jenkins/compare/0f6258b6cbdf...a3d07dcb19ab
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Matthew Barr
            Path:
            SPECS/jenkins.spec
            http://jenkins-ci.org/commit/packaging/cd737e12ed0ce0c70c2dcb8406575c67e2eccd86
            Log:
            Remove repo file from RPM. https://issues.jenkins-ci.org/browse/JENKINS-22690

            Originally-From: jenkins-ci.org/commit/core/a08b16d281d9f7a34f3cffaefdc21a941d71aebf

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Matthew Barr Path: SPECS/jenkins.spec http://jenkins-ci.org/commit/packaging/cd737e12ed0ce0c70c2dcb8406575c67e2eccd86 Log: Remove repo file from RPM. https://issues.jenkins-ci.org/browse/JENKINS-22690 Originally-From: jenkins-ci.org/commit/core/a08b16d281d9f7a34f3cffaefdc21a941d71aebf

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mbarr Matthew Barr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: