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

Support configurable Default Update center IDs

    XMLWordPrintable

Details

    Description

      Currently UpdateCenter and installation wizard always take the update center definition from JENKINS_HOME/updates/default.json . It would be great to support external sources and different UC IDs.

      Usa-cases:

      • custom WAR package
      • startup of the classic Jenkins WAR with external UC specification

      Attachments

        Issue Links

          Activity

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            core/src/main/java/hudson/model/UpdateCenter.java
            war/src/main/js/pluginSetupWizardGui.js
            http://jenkins-ci.org/commit/jenkins/3431a817c568b4568948eafc731c90f496874f77
            Log:
            [FIXED JENKINS-34674] - Allow defining custom default update site IDs via system properties

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/java/hudson/model/UpdateCenter.java war/src/main/js/pluginSetupWizardGui.js http://jenkins-ci.org/commit/jenkins/3431a817c568b4568948eafc731c90f496874f77 Log: [FIXED JENKINS-34674] - Allow defining custom default update site IDs via system properties

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            core/src/main/java/hudson/model/UpdateCenter.java
            test/src/test/java/hudson/model/UpdateCenterConnectionStatusTest.java
            war/src/main/js/pluginSetupWizardGui.js
            war/src/main/js/util/jenkins.js
            http://jenkins-ci.org/commit/jenkins/0b3dbfce64a3cae69e96beb6f7a437db587e401a
            Log:
            Merge pull request #2319 from oleg-nenashev/JENKINS-34674

            [JENKINS-34674,JENKINS-34675] - Handling of the default update site ID

            Compare: https://github.com/jenkinsci/jenkins/compare/b9bb52ffce51...0b3dbfce64a3

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/java/hudson/model/UpdateCenter.java test/src/test/java/hudson/model/UpdateCenterConnectionStatusTest.java war/src/main/js/pluginSetupWizardGui.js war/src/main/js/util/jenkins.js http://jenkins-ci.org/commit/jenkins/0b3dbfce64a3cae69e96beb6f7a437db587e401a Log: Merge pull request #2319 from oleg-nenashev/ JENKINS-34674 [JENKINS-34674,JENKINS-34675] - Handling of the default update site ID Compare: https://github.com/jenkinsci/jenkins/compare/b9bb52ffce51...0b3dbfce64a3

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            core/src/main/java/hudson/model/UpdateCenter.java
            core/src/main/java/jenkins/model/Jenkins.java
            test/src/test/java/hudson/model/UpdateCenterCustomTest.java
            http://jenkins-ci.org/commit/jenkins/768da3e241417da47f306ac2e32fbc14c31be8c8
            Log:
            JENKINS-34733 - Allow overriding Jenkins UpdateCenter by a custom implementation (#2332)

            • JENKINS-34733 - Allow overriding Jenkins UpdateCenter by a custom implementation
            • JENKINS-34733 - Reduce the logging level for the custom update center selection
            • [JENKINS-34733 and JENKINS-34674] - Use SystemProperties in the UpdateCenter
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/java/hudson/model/UpdateCenter.java core/src/main/java/jenkins/model/Jenkins.java test/src/test/java/hudson/model/UpdateCenterCustomTest.java http://jenkins-ci.org/commit/jenkins/768da3e241417da47f306ac2e32fbc14c31be8c8 Log: JENKINS-34733 - Allow overriding Jenkins UpdateCenter by a custom implementation (#2332) JENKINS-34733 - Allow overriding Jenkins UpdateCenter by a custom implementation JENKINS-34733 - Reduce the logging level for the custom update center selection [JENKINS-34733 and JENKINS-34674] - Use SystemProperties in the UpdateCenter
            oleg_nenashev Oleg Nenashev added a comment -

            released in jenkins-2.4

            oleg_nenashev Oleg Nenashev added a comment - released in jenkins-2.4
            danielbeck Daniel Beck added a comment - Why is this not documented on https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties ?
            oleg_nenashev Oleg Nenashev added a comment -

            danielbeck I have no idea. I'm sure I've documented and saved it after the 2.4 release. But nothing in history. Could it be related to the confluence outage?

            oleg_nenashev Oleg Nenashev added a comment - danielbeck I have no idea. I'm sure I've documented and saved it after the 2.4 release. But nothing in history. Could it be related to the confluence outage?
            danielbeck Daniel Beck added a comment - oleg_nenashev PTAL: https://wiki.jenkins-ci.org/pages/diffpages.action?pageId=38929503&originalId=103088848
            oleg_nenashev Oleg Nenashev added a comment -

            LGTM, thanks!

            oleg_nenashev Oleg Nenashev added a comment - LGTM, thanks!

            People

              oleg_nenashev Oleg Nenashev
              oleg_nenashev Oleg Nenashev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: