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: "修改测试数据库链接" > /usr/local/git/bin/git rev-list --no-walk b41ccc654ceb02500070f85e054d9095f45bb275 # timeout=10 Parsing POMs Established TCP socket on 33401 [bcxin-sms] $ /usr/local/jdk1.8/bin/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 33401 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: [JENKINS-18403][JENKINS-28294] JDK 'jdk1.8' not supported to run Maven projects. ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the controller. ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK. ERROR: Retrying with agent Java and setting compile/test properties to point to /usr/local/jdk1.8. ERROR: ================================================================================ Established TCP socket on 43048 [bcxin-sms] $ /usr/local/jdk-17.0.6/bin/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 43048 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /data/jenkins/workspace/bcxin-sms/pom.xml -gs /usr/local/maven/conf/settings.xml clean -DskipTests=true [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for tk.mybatis:bcxin-msg:war:1.0.0-SNAPSHOT [WARNING] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 135, column 22 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------< tk.mybatis:bcxin-msg >------------------------ [INFO] Building bcxin-msg 1.0.0-SNAPSHOT [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ bcxin-msg --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.324 s [INFO] Finished at: 2024-10-15T11:30:12+08:00 [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /data/jenkins/workspace/bcxin-sms/pom.xml to tk.mybatis/bcxin-msg/1.0.0-SNAPSHOT/bcxin-msg-1.0.0-SNAPSHOT.pom channel stopped Finished: SUCCESS