Summary:

      • Downloaded file is not a valid ZIP
      • Unable to resolve dependencies for credentials-plugin

      Description:

      During the day I was trying to redeploy our jenkins as code and I noticed that the credentials-plugin is not being able to be downloaded. We are running our jenkins inside a Kubernetes cluster and i was able to retrieve the logs from the init container.

       

      disable Setup Wizard
      remove all plugins from shared volume
      download plugins
      Downloading plugin credentials-plugin from url: https://updates.jenkins.io/download/plugins/credentials-plugin/2.4.1/credentials-plugin.hpi
      Downloaded file is not a valid ZIP
      Unable to resolve dependencies for credentials-plugin
      

       

       

      When i try to access the url from where the credentials plugin is being downloaded i get redirected to https://get.jenkins.io/plugins/credentials-plugin/2.4.1/credentials-plugin.hpi and a "Not Found" message is being displayed. I tried to download other plugins and they apparently work fine and i don't get redirected to the second url.

      I also tried to curl the download url from the logs and this is the output.

       

      <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>302 Found</title>
      </head><body>
      <h1>Found</h1>
      <p>The document has moved <a href="https://get.jenkins.io/plugins/credentials-plugin/2.4.1/credentials-plugin.hpi">here</a>.</p>
      </body></html>

       

       

      Currently, we are not being able to redeploy our jenkins in order to follow the normal cicd flow.

      Jenkins Version: 2.263.1-lts

      Credentials plugin version: 2.4.1

       

          [JENKINS-65655] Unable to download credentials-plugin

          Tiago created issue -
          Tiago made changes -
          Description Original: *Summary:*
           * Downloaded file is not a valid ZIP
           * Unable to resolve dependencies for credentials-plugin

          *Description:*

          During the day I was trying to redeploy our jenkins as code and I noticed that the *credentials-plugin* is not being able to be downloaded. We are running our jenkins inside a Kubernetes cluster and i was able to retrieve the logs from the init container.

           
          {code:java}
          disable Setup Wizard
          remove all plugins from shared volume
          download plugins
          Downloading plugin credentials-plugin from url: https://updates.jenkins.io/download/plugins/credentials-plugin/2.4/credentials-plugin.hpi
          Downloaded file is not a valid ZIP
          Unable to resolve dependencies for credentials-plugin
          {code}
           

           

          When i try to access the url from where the credentials plugin is being downloaded i get redirected to [https://get.jenkins.io/plugins/credentials-plugin/2.4.1/credentials-plugin.hpi|https://get.jenkins.io/plugins/credentials-plugin/2.4/credentials-plugin.hpi] and a "Not Found" message is being displayed. I tried to download other plugins and they apparently work fine and i don't get redirected to the second url.

          I also tried to curl the download url from the logs and this is the output.

           
          {code:java}
          <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
          <html><head>
          <title>302 Found</title>
          </head><body>
          <h1>Found</h1>
          <p>The document has moved <a href="https://get.jenkins.io/plugins/credentials-plugin/2.4.1/credentials-plugin.hpi">here</a>.</p>
          </body></html>{code}
           

           

          Currently, we are not being able to redeploy our jenkins in order to follow the normal cicd flow.

          *Jenkins Version:* 2.263.1-lts

          *Credentials plugin version:* [2.4.1|https://plugins.jenkins.io/credentials/]

           
          New: *Summary:*
           * Downloaded file is not a valid ZIP
           * Unable to resolve dependencies for credentials-plugin

          *Description:*

          During the day I was trying to redeploy our jenkins as code and I noticed that the *credentials-plugin* is not being able to be downloaded. We are running our jenkins inside a Kubernetes cluster and i was able to retrieve the logs from the init container.

           
          {code:java}
          disable Setup Wizard
          remove all plugins from shared volume
          download plugins
          Downloading plugin credentials-plugin from url: https://updates.jenkins.io/download/plugins/credentials-plugin/2.4.1/credentials-plugin.hpi
          Downloaded file is not a valid ZIP
          Unable to resolve dependencies for credentials-plugin
          {code}
           

           

          When i try to access the url from where the credentials plugin is being downloaded i get redirected to [https://get.jenkins.io/plugins/credentials-plugin/2.4.1/credentials-plugin.hpi|https://get.jenkins.io/plugins/credentials-plugin/2.4/credentials-plugin.hpi] and a "Not Found" message is being displayed. I tried to download other plugins and they apparently work fine and i don't get redirected to the second url.

          I also tried to curl the download url from the logs and this is the output.

           
          {code:java}
          <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
          <html><head>
          <title>302 Found</title>
          </head><body>
          <h1>Found</h1>
          <p>The document has moved <a href="https://get.jenkins.io/plugins/credentials-plugin/2.4.1/credentials-plugin.hpi">here</a>.</p>
          </body></html>{code}
           

           

          Currently, we are not being able to redeploy our jenkins in order to follow the normal cicd flow.

          *Jenkins Version:* 2.263.1-lts

          *Credentials plugin version:* [2.4.1|https://plugins.jenkins.io/credentials/]

           
          Tiago made changes -
          Component/s New: credentials-plugin [ 16523 ]
          Component/s Original: plugin-installation-manager-tool [ 25433 ]
          Component/s Original: plugin-usage-plugin [ 19227 ]
          Component/s Original: plugin-util-api-plugin [ 26521 ]
          Tiago made changes -
          Labels Original: plugin plugins New: Credentials credentials plugin plugins
          Tiago made changes -
          Environment New: Jenkins 2.263.1-lts
          Credentials-plugin 2.4.1
          Tiago made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Tiago made changes -
          Attachment New: Screenshot 2021-05-18 at 10.23.41.png [ 54819 ]
          Tiago made changes -
          Attachment New: Screenshot 2021-05-18 at 10.23.41-1.png [ 54820 ]

            stopalopa Natasha Stopa
            tiagomichaelsousa Tiago
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: