• Icon: Patch Patch
    • Resolution: Fixed
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: All

      For security reasons, we need the ability to control the plugins that are
      available through the update center. Additionally, we've got our own package
      management infrastructure we'd like to use to host plugins.

      This patch adds hooks to UpdateCenter to:

      • Allow the server that update-center.json is retrieved from to be configured
      • Allow customization of various aspects of downloading a plugin/upgrade:
      • connection check
      • download
      • install
      • upgrade
      • Allows plugins to be hosted on a different server than update-center.json
      • Passes the authentication object of the user that initiated the job to the
        background threads for auditing purposes.

          [JENKINS-2732] Patch to allow update center customization

          Dean Yu added a comment -

          Created an attachment (id=474)
          patch file

          Dean Yu added a comment - Created an attachment (id=474) patch file

          Code changed in hudson
          User: : dty
          Path:
          trunk/hudson/main/core/src/main/java/hudson/Functions.java
          trunk/hudson/main/core/src/main/java/hudson/model/UpdateCenter.java
          trunk/hudson/main/core/src/main/resources/hudson/model/UpdateCenter/PageDecoratorImpl/footer.jelly
          trunk/hudson/main/war/resources/scripts/hudson-behavior.js
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=13712
          Log:
          [FIXED JENKINS-2732] Changes to enable alternate update centers.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : dty Path: trunk/hudson/main/core/src/main/java/hudson/Functions.java trunk/hudson/main/core/src/main/java/hudson/model/UpdateCenter.java trunk/hudson/main/core/src/main/resources/hudson/model/UpdateCenter/PageDecoratorImpl/footer.jelly trunk/hudson/main/war/resources/scripts/hudson-behavior.js trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=13712 Log: [FIXED JENKINS-2732] Changes to enable alternate update centers.

            Unassigned Unassigned
            dty Dean Yu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: