Started by user admin Running as SYSTEM Building in workspace /data/jenkins/workspace/diaodudapingyuanma The recommended git tool is: NONE using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/diaodudapingyuanma/.git # timeout=10 Fetching changes from the remote Git repository > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_v5_app/diaodudapingyuanma.git # timeout=10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_v5_app/diaodudapingyuanma.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_v5_app/diaodudapingyuanma.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 Checking out Revision 3a13f9c6528f18d7a9dfc9729bb35bd9c7e2bd49 (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f 3a13f9c6528f18d7a9dfc9729bb35bd9c7e2bd49 # timeout=10 Commit message: "代码提交" > /usr/local/git/bin/git rev-list --no-walk 3a13f9c6528f18d7a9dfc9729bb35bd9c7e2bd49 # timeout=10 Parsing POMs Established TCP socket on 40491 [securityScreen] $ /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 40491 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 44489 [securityScreen] $ /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 44489 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/diaodudapingyuanma/后端/securityScreen/pom.xml clean package [INFO] Scanning for projects... [INFO] [INFO] -----------------------< com.bcx:securityScreen >----------------------- [INFO] Building securityScreen 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ securityScreen --- [INFO] Deleting /data/jenkins/workspace/diaodudapingyuanma/后端/securityScreen/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ securityScreen --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ securityScreen --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /data/jenkins/workspace/diaodudapingyuanma/后端/securityScreen/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ securityScreen --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /data/jenkins/workspace/diaodudapingyuanma/后端/securityScreen/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ securityScreen --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /data/jenkins/workspace/diaodudapingyuanma/后端/securityScreen/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ securityScreen --- [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ securityScreen --- [INFO] Building jar: /data/jenkins/workspace/diaodudapingyuanma/后端/securityScreen/target/securityScreen-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- spring-boot-maven-plugin:2.6.13:repackage (repackage) @ securityScreen --- [INFO] Replacing main artifact with repackaged archive [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.038 s [INFO] Finished at: 2023-12-08T17:51:35+08:00 [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /data/jenkins/workspace/diaodudapingyuanma/后端/securityScreen/pom.xml to com.bcx/securityScreen/0.0.1-SNAPSHOT/securityScreen-0.0.1-SNAPSHOT.pom [JENKINS] Archiving /data/jenkins/workspace/diaodudapingyuanma/后端/securityScreen/target/securityScreen-0.0.1-SNAPSHOT.jar to com.bcx/securityScreen/0.0.1-SNAPSHOT/securityScreen-0.0.1-SNAPSHOT.jar [diaodudapingyuanma] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins16812295046446259892.sh channel stopped + scp /data/jenkins/workspace/diaodudapingyuanma/后端/securityScreen/target/securityScreen-0.0.1-SNAPSHOT.jar 172.20.0.7:/data/workspace/diaodudapingyuanma + ssh 172.20.0.7 -C 'rm -rf /data/magic-api' + scp -r /data/jenkins/workspace/diaodudapingyuanma/后端/magic-api 172.20.0.7:/data/magic-api [SSH] script: PATH="/usr/local/jdk1.8/bin:/usr/local/maven:/usr/local/jdk1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/maven/bin:/root/bin" JAVA_HOME="/usr/local/jdk1.8" JAVA_CLASS="/usr/local/jdk1.8/lib" HOME="/root" #JAVA export JAVA_HOME=/usr/local/java export JAVA_CLASS=$JAVA_HOME/lib export PATH=$JAVA_HOME/bin:$PATH kill -9 $(ps -ef|grep -v grep|grep securityScreen-0.0.1-SNAPSHOT.jar|awk '{print $2}') cd /data/workspace/diaodudapingyuanma nohup java -Xms512m -Xmx512m -jar securityScreen-0.0.1-SNAPSHOT.jar 2> securityScreen.log 2>&1 & [SSH] executing... kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.6.13) 2023-12-08 17:51:38.004 INFO 24992 --- [ main] c.b.s.SecurityScreenApplication : Starting SecurityScreenApplication using Java 1.8.0_102 on server-9f901458-570f-42f8-89e3-2bcf81b306c5 with PID 24992 (/data/workspace/diaodudapingyuanma/securityScreen-0.0.1-SNAPSHOT.jar started by root in /data/workspace/diaodudapingyuanma) 2023-12-08 17:51:38.007 INFO 24992 --- [ main] c.b.s.SecurityScreenApplication : The following 1 profile is active: "dispatchprod" 2023-12-08 17:51:39.246 INFO 24992 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 9200 (http) 2023-12-08 17:51:39.264 INFO 24992 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2023-12-08 17:51:39.264 INFO 24992 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.68] 2023-12-08 17:51:39.380 INFO 24992 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2023-12-08 17:51:39.380 INFO 24992 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1323 ms 2023-12-08 17:51:39.515 INFO 24992 --- [ main] o.s.aop.framework.CglibAopProxy : Unable to proxy interface-implementing method [public final org.springframework.web.servlet.HandlerExecutionChain org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(javax.servlet.http.HttpServletRequest) throws java.lang.Exception] because it is marked as final: Consider using interface-based JDK proxies instead! 2023-12-08 17:51:39.515 INFO 24992 --- [ main] o.s.aop.framework.CglibAopProxy : Unable to proxy interface-implementing method [public final void org.springframework.web.context.support.WebApplicationObjectSupport.setServletContext(javax.servlet.ServletContext)] because it is marked as final: Consider using interface-based JDK proxies instead! 2023-12-08 17:51:39.515 INFO 24992 --- [ main] o.s.aop.framework.CglibAopProxy : Unable to proxy interface-implementing method [public final void org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(org.springframework.context.ApplicationContext) throws org.springframework.beans.BeansException] because it is marked as final: Consider using interface-based JDK proxies instead! 2023-12-08 17:51:39.740 INFO 24992 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2023-12-08 17:51:39.991 INFO 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : 未配置集群通知服务,本实例不会推送通知,集群环境下可能会有问题,如需开启,请引用magic-api-plugin-cluster插件 2023-12-08 17:51:40.033 INFO 24992 --- [ main] o.s.m.d.model.MagicDynamicDataSource : 注册数据源:default 2023-12-08 17:51:40.036 INFO 24992 --- [ main] o.s.m.s.b.s.MagicModuleConfiguration : 未找到分页实现,采用默认分页实现,分页配置:(页码=page,页大小=size,默认首页=1,默认页大小=10,最大页大小=-1) 2023-12-08 17:51:40.037 INFO 24992 --- [ main] o.s.m.s.b.s.MagicModuleConfiguration : 未找到SQL缓存实现,采用默认缓存实现(LRU+TTL),缓存配置:(容量=10000,TTL=-1) 2023-12-08 17:51:40.167 INFO 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : magic-api工作目录:file:///data/magic-api 2023-12-08 17:51:40.174 INFO 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : 注册模块:log -> interface org.slf4j.Logger 2023-12-08 17:51:40.176 INFO 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : 注册模块:db -> class org.ssssssss.magicapi.modules.db.SQLModule 2023-12-08 17:51:40.176 INFO 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : 注册模块:http -> class org.ssssssss.magicapi.modules.http.HttpModule 2023-12-08 17:51:40.177 INFO 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : 注册模块:env -> class org.ssssssss.magicapi.modules.spring.EnvModule 2023-12-08 17:51:40.177 INFO 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : 注册模块:request -> class org.ssssssss.magicapi.modules.servlet.RequestModule 2023-12-08 17:51:40.177 INFO 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : 注册模块:response -> class org.ssssssss.magicapi.modules.servlet.ResponseModule 2023-12-08 17:51:40.177 INFO 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : 注册模块:magic -> class org.ssssssss.magicapi.core.service.impl.DefaultMagicAPIService 2023-12-08 17:51:40.177 INFO 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : 自动导入模块:db 2023-12-08 17:51:40.179 INFO 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : 注册扩展:class org.ssssssss.magicapi.modules.servlet.ResponseModule -> class org.ssssssss.magicapi.servlet.javaee.MagicJavaEEResponseExtension __ __ _ _ ____ ___ | \/ | __ _ __ _ (_) ___ / \ | _ \|_ _| | |\/| | / _` | / _` || | / __| / _ \ | |_) || | | | | || (_| || (_| || || (__ / ___ \ | __/ | | |_| |_| \__,_| \__, ||_| \___|/_/ \_\|_| |___| |___/ 2.1.1 2023-12-08 17:51:40.213 ERROR 24992 --- [ main] o.s.m.s.b.s.MagicAPIAutoConfiguration : 当前备份设置未配置,强烈建议配置备份设置,以免代码丢失。 2023-12-08 17:51:40.244 INFO 24992 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 9200 (http) with context path '' 2023-12-08 17:51:40.255 INFO 24992 --- [ main] c.b.s.SecurityScreenApplication : Started SecurityScreenApplication in 2.76 seconds (JVM running for 3.182) ********************************************当前服务相关地址******************************************** 服务启动成功,magic-api已内置启动! Access URLs: 接口本地地址: http://localhost:9200/ 接口外部地址: http://127.0.0.1:9200/ 接口配置平台: http://127.0.0.1:9200/magic/web/index.html 可通过配置关闭输出: magic-api.show-url=false ********************************************当前服务相关地址******************************************** [JDK Parameter]: Restored job JDK Build was aborted Aborted by admin Finished: ABORTED