jenkinsci / docker

Docker official jenkins repo
https://hub.docker.com/r/jenkins/jenkins
MIT License
6.73k stars 4.56k forks source link

fix break in the update center var. #1921

Closed manuath6 closed 2 months ago

manuath6 commented 2 months ago

The following PR is to address a bug that has been observed when trying to install the latest stable release helm chart for the ubi8 flavor of docker images.

The error is as follows below:

└─$ kubectl logs -f -n cicd jenkins-0 -c init disable Setup Wizard download plugins File containing list of plugins to be downloaded: /var/jenkins_home/plugins.txt Reading in plugins from /var/jenkins_home/plugins.txt

No directory to download plugins entered. Will use default of /usr/share/jenkins/ref/plugins java.lang.RuntimeException: java.net.MalformedURLException: unknown protocol: ttps at io.jenkins.tools.pluginmanager.cli.CliOptions.getUpdateCenter(CliOptions.java:373) at io.jenkins.tools.pluginmanager.cli.CliOptions.setup(CliOptions.java:168) at io.jenkins.tools.pluginmanager.cli.Main.main(Main.java:53) Caused by: java.net.MalformedURLException: unknown protocol: ttps at java.base/java.net.URL.(Unknown Source) at java.base/java.net.URL.(Unknown Source) at java.base/java.net.URL.(Unknown Source) at io.jenkins.tools.pluginmanager.cli.CliOptions.getUpdateCenter(CliOptions.java:361) ... 2 more java.net.MalformedURLException: unknown protocol: ttps

timja commented 2 months ago

Thanks