-
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