text 安装Jenkins

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 安装Jenkins相关的知识,希望对你有一定的参考价值。

#Install font dependencies for the error:

Aug 06, 2019 12:50:55 AM hudson.util.BootFailure publish
SEVERE: Failed to initialize Jenkins
hudson.util.AWTProblem: java.lang.InternalError: java.lang.reflect.InvocationTargetException
	at hudson.WebAppMain.contextInitialized(WebAppMain.java:193)
	
	
	
	Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:84)
	... 33 more
Caused by: java.lang.NullPointerException
	at java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1262)
	at java.desktop/sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225)
	at java.desktop/sun.awt.FontConfiguration.init(FontConfiguration.java:107)
	at java.desktop/sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:719)
	at java.desktop/sun.font.SunFontManager$2.run(SunFontManager.java:367)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.desktop/sun.font.SunFontManager.<init>(SunFontManager.java:312)
	at java.desktop/sun.awt.FcFontManager.<init>(FcFontManager.java:35)
	at java.desktop/sun.awt.X11FontManager.<init>(X11FontManager.java:56)
	... 38 more


sudo yum install fontconfig urw-fonts
wget ...................jenkins.war
java -jar jenkins.war --httpPort=8080


# Install JClouds plugin https://wiki.jenkins.io/display/JENKINS/JClouds+Plugin

以上是关于text 安装Jenkins的主要内容,如果未能解决你的问题,请参考以下文章

text 更改为jenkins服务用户

text Jenkins IOS修复

text Jenkins_parallel_docker

text Jenkins管道支持k8 / docker

text Jenkins GitHub Hook Log

text Jenkins GitHub Hook Log