Started by user unknown or anonymous Running as SYSTEM Building in workspace /data/jenkins/workspace/bcxin-sms The recommended git tool is: NONE using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 Cloning the remote Git repository Cloning repository https://gitlab.arsbaibaodun.com/bcx_basic/bcxin-sms.git > /usr/local/git/bin/git init /data/jenkins/workspace/bcxin-sms # timeout=10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/bcxin-sms.git > /usr/local/git/bin/git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials gitlab凭据 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_basic/bcxin-sms.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/bcxin-sms.git # timeout=10 > /usr/local/git/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 Checking out Revision b41ccc654ceb02500070f85e054d9095f45bb275 (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f b41ccc654ceb02500070f85e054d9095f45bb275 # timeout=10 Commit message: "修改测试数据库链接" First time build. Skipping changelog. Parsing POMs Downloaded artifact https://maven.aliyun.com/repository/central/org/springframework/boot/spring-boot-starter-parent/1.5.1.RELEASE/spring-boot-starter-parent-1.5.1.RELEASE.pom Downloaded artifact https://maven.aliyun.com/repository/central/org/springframework/boot/spring-boot-dependencies/1.5.1.RELEASE/spring-boot-dependencies-1.5.1.RELEASE.pom Downloaded artifact https://maven.aliyun.com/repository/central/com/fasterxml/jackson/jackson-bom/2.8.6/jackson-bom-2.8.6.pom Downloaded artifact https://maven.aliyun.com/repository/central/org/apache/logging/log4j/log4j-bom/2.17.0/log4j-bom-2.17.0.pom Downloaded artifact https://maven.aliyun.com/repository/central/org/springframework/spring-framework-bom/4.3.6.RELEASE/spring-framework-bom-4.3.6.RELEASE.pom Downloaded artifact https://maven.aliyun.com/repository/central/org/springframework/data/spring-data-releasetrain/Ingalls-RELEASE/spring-data-releasetrain-Ingalls-RELEASE.pom Downloaded artifact https://maven.aliyun.com/repository/central/org/springframework/data/build/spring-data-build/1.9.0.RELEASE/spring-data-build-1.9.0.RELEASE.pom Downloaded artifact https://maven.aliyun.com/repository/central/org/springframework/integration/spring-integration-bom/4.3.7.RELEASE/spring-integration-bom-4.3.7.RELEASE.pom Downloaded artifact https://maven.aliyun.com/repository/central/org/springframework/security/spring-security-bom/4.2.1.RELEASE/spring-security-bom-4.2.1.RELEASE.pom Discovered a new module tk.mybatis:bcxin-msg bcxin-msg Modules changed, recalculating dependency graph Established TCP socket on 39496 [bcxin-sms] $ java -cp /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/usr/local/maven/boot/plexus-classworlds-2.6.0.jar:/usr/local/maven/conf/logging jenkins.maven3.agent.Maven35Main /usr/local/maven /data/apache-tomcat-jenkins/webapps/jenkins/WEB-INF/lib/remoting-3160.vd76b_9ddd10cc.jar /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 39496 Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:425) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:136) at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:66) ERROR: ================================================================================ ERROR: Invalid project setup: Connection reset ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (https://jenkins.io/redirect/report-an-issue). java.lang.NullPointerException: Cannot invoke "hudson.model.JDK.getName()" because "jdk" is null at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:308) at hudson.maven.ProcessCache.get(ProcessCache.java:237) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:802) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526) at hudson.model.Run.execute(Run.java:1895) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:442) project=hudson.maven.MavenModuleSet@63982c23[bcxin-sms] project.getModules()=[hudson.maven.MavenModule@4a7e278[bcxin-sms/tk.mybatis:bcxin-msg][bcxin-sms/tk.mybatis:bcxin-msg][relativePath:]] project.getRootModule()=hudson.maven.MavenModule@4a7e278[bcxin-sms/tk.mybatis:bcxin-msg][bcxin-sms/tk.mybatis:bcxin-msg][relativePath:] FATAL: Cannot invoke "hudson.model.JDK.getName()" because "jdk" is null java.lang.NullPointerException: Cannot invoke "hudson.model.JDK.getName()" because "jdk" is null at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:308) at hudson.maven.ProcessCache.get(ProcessCache.java:237) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:802) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526) at hudson.model.Run.execute(Run.java:1895) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:442) Finished: FAILURE