-
Bug
-
Resolution: Fixed
-
Critical
-
Jenkins 2.263.1-lts
Credentials-plugin 2.4.1
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
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/] |
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 ] |
Labels | Original: plugin plugins | New: Credentials credentials plugin plugins |
Environment |
New:
Jenkins 2.263.1-lts
Credentials-plugin 2.4.1 |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Attachment | New: screencapture-get-jenkins-io-plugins-credentials-2-4-1-credentials-hpi-2021-05-17-19_27_26-edit.png [ 54814 ] |
For those that are using jenkins as code, the plugin isn't called credentials-plugin anymore, it's actually just credentials.
If you try to access the urls on the description of the ticket with credentials instead of credentials-plugin, you should be able to list and download the files.
https://get.jenkins.io/plugins/credentials/