Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-2808

unable to download plugins

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate
    • Component/s: jenkins.io
    • Labels:
      None
    • Environment:
      CentOS Linux release 7.9.2009 (Core)
       3.10.0-1062.el7.x86_64
      <version>2.249.3</version>
    • Similar Issues:

      Description

      I am unable to download plugins. I keep getting exceptions similar to this:

      Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/jdk-tool/1.4/jdk-tool.hpi (redirected to: https://get.jenkins.io/plugins/jdk-tool/1.4/jdk-tool.hpi)
      at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1321)
      at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1869)
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2147)
      at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1843)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:118)
      at java.lang.Thread.run(Thread.java:748)

        Attachments

          Issue Links

            Activity

            Hide
            markewaite Mark Waite added a comment - - edited

            See INFRA-2811 for more details

            Refer to the workaround offered by Thomas Z for a technique that will workaround the issue with get.jenkins.io.

            While we're working on the solution, there are few different workarounds that can be applied.

            Helm charts

            Use the workaround from Thomas Z to use a nearby update center mirror to download plugins.

            Download plugins and dependencies

            If you need to download a plugin and all of its dependencies, use the following series of commands as an example:

            $ export GITHUB=https://github.com/jenkinsci/plugin-installation-manager-tool/releases
            $ wget $GITHUB/download/2.1.1/jenkins-plugin-manager-2.1.1.jar
            $ export JENKINS_UC_DOWNLOAD=https://mirror.xmission.com/jenkins/ # Your mirror here
            $ java -jar jenkins-plugin-manager-2.1.1.jar --verbose --plugins blueocean:1.24.3 # your plugins here
            

            Download a single plugin

            If you need to download a specific plugin version, use your web browser to open one of the mirrors, navigate to the plugins directory, download the plugin, and use the Jenkins plugin manager's Advanced tab to upload the that file into Jenkins.

            Mirrors are available at (based on mirrorbits helm chart README):

            Show
            markewaite Mark Waite added a comment - - edited See INFRA-2811 for more details Refer to the workaround offered by Thomas Z for a technique that will workaround the issue with get.jenkins.io. While we're working on the solution, there are few different workarounds that can be applied. Helm charts Use the workaround from Thomas Z to use a nearby update center mirror to download plugins. Download plugins and dependencies If you need to download a plugin and all of its dependencies, use the following series of commands as an example: $ export GITHUB=https://github.com/jenkinsci/plugin-installation-manager-tool/releases $ wget $GITHUB/download/2.1.1/jenkins-plugin-manager-2.1.1.jar $ export JENKINS_UC_DOWNLOAD=https://mirror.xmission.com/jenkins/ # Your mirror here $ java -jar jenkins-plugin-manager-2.1.1.jar --verbose --plugins blueocean:1.24.3 # your plugins here Download a single plugin If you need to download a specific plugin version, use your web browser to open one of the mirrors, navigate to the plugins directory, download the plugin, and use the Jenkins plugin manager's Advanced tab to upload the that file into Jenkins. Mirrors are available at (based on mirrorbits helm chart README ): http://mirrors.jenkins.io/ https://ftp-chi.osuosl.org/pub/jenkins/ https://ftp.halifax.rwth-aachen.de/jenkins/ https://ftp.yz.yamagata-u.ac.jp/pub/misc/jenkins/ https://mirror.esuni.jp/jenkins/ https://mirror.gruenehoelle.nl/jenkins/ https://mirrors.tuna.tsinghua.edu.cn/jenkins/ https://mirror.xmission.com/jenkins/

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mbeloiu Matei Beloiu
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: