简体   繁体   中英

Issue in Jenkins installation plugins

I am facing issue while installing any of the Jenkins plugins suggested.

Actually after downloading,Jenkins.war file(which is latest 2.141) when i tried to execute the jar with java -jar jenkins.war so it gave me an error of Jenkins require java 8 but you are using 10. Also,it says that java class version 54.0 is running,but it requires java 52.0.

But I was able to resolve this issue by setting --enable-future-java flag .

java -jar jenkins.war --enable-future-java flag

Now,after writing this command,jenkins is up and running but i am unable to install the plugins. Also,im cmd prompt after the Jenkins is upa d running.There is one error also. PFB :-

Sep 17, 2018 4:38:49 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
[31mSep 17, 2018 4:39:02 PM hudson.model.UpdateSite updateData
SEVERE: ERROR: SHA-512 based signature in the update center doesn't match with the certificate in 'update site 'default''
[0mSep 17, 2018 4:39:02 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 15,407 ms

You need to add a flag which allows starting Jenkins with unsupported Java versions. You can do some google research on this.

如果我们将Jenkins war文件的版本从2.141更改为2.814,则它适用于Java 10,并且可以很好地安装Jenkins的插件

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM