Skip to content

Console Output

20:59:49 Started by user unknown or anonymous
20:59:49 Running as SYSTEM
20:59:49 Building in workspace /data/jenkins/workspace/test-v5qy-bcxinurilfileutil
20:59:49 The recommended git tool is: NONE
20:59:49 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
20:59:49  > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/.git # timeout=10
20:59:49 Fetching changes from the remote Git repository
20:59:49  > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/bcxinurilfileutil.git # timeout=10
20:59:49 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/bcxinurilfileutil.git
20:59:49  > /usr/local/git/bin/git --version # timeout=10
20:59:49  > git --version # 'git version 2.43.0'
20:59:49 using GIT_ASKPASS to set credentials gitlab凭据
20:59:49  > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_basic/bcxinurilfileutil.git +refs/heads/*:refs/remotes/origin/* # timeout=10
20:59:50  > /usr/local/git/bin/git rev-parse refs/remotes/origin/autodownloadupload^{commit} # timeout=10
20:59:50 Checking out Revision 63f53c2d8f9fca8e2cbbe943b0fe9092c38ed50d (refs/remotes/origin/autodownloadupload)
20:59:50  > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
20:59:50  > /usr/local/git/bin/git checkout -f 63f53c2d8f9fca8e2cbbe943b0fe9092c38ed50d # timeout=10
20:59:50 Commit message: "add 从URL中提取日期"
20:59:50  > /usr/local/git/bin/git rev-list --no-walk 58e86f2540bcad0175acfb7e8217f37efb9f7adf # timeout=10
20:59:50 Parsing POMs
20:59:50 Established TCP socket on 46746
20:59:50 [autodownloadupload] $ /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 46746
20:59:50 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
20:59:50 	at java.lang.ClassLoader.defineClass1(Native Method)
20:59:50 	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
20:59:50 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
20:59:50 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
20:59:50 	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
20:59:50 	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
20:59:50 	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
20:59:50 	at java.security.AccessController.doPrivileged(Native Method)
20:59:50 	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
20:59:50 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:425)
20:59:50 	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
20:59:50 	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
20:59:50 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
20:59:50 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
20:59:50 	at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:136)
20:59:50 	at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:66)
20:59:50 ERROR: ================================================================================
20:59:50 ERROR: Invalid project setup: Connection reset
20:59:50 ERROR: [JENKINS-18403][JENKINS-28294] JDK 'jdk1.8' not supported to run Maven projects.
20:59:50 ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the controller.
20:59:50 ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK.
20:59:50 ERROR: Retrying with agent Java and setting compile/test properties to point to /usr/local/jdk1.8.
20:59:50 ERROR: ================================================================================
20:59:50 Established TCP socket on 40327
20:59:50 [autodownloadupload] $ /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 40327
20:59:50 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
20:59:51 <===[JENKINS REMOTING CAPACITY]===>channel started
20:59:52 Executing Maven:  -B -f /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/pom.xml clean package -DskipTests -Pout-te
20:59:52 [INFO] Scanning for projects...
20:59:53 [INFO] 
20:59:53 [INFO] --------------------< com.bcxin:autodownloadupload >--------------------
20:59:53 [INFO] Building autodownloadupload 1.0.0
20:59:53 [INFO] --------------------------------[ jar ]---------------------------------
20:59:53 [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been relocated to com.mysql:mysql-connector-j:jar:8.0.31
20:59:53 [INFO] 
20:59:53 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ autodownloadupload ---
20:59:53 [INFO] Deleting /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/target
20:59:53 [INFO] 
20:59:53 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ autodownloadupload ---
20:59:53 [INFO] Using 'UTF-8' encoding to copy filtered resources.
20:59:53 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
20:59:53 [INFO] Copying 22 resources
20:59:53 [INFO] Copying 3 resources
20:59:53 [INFO] 
20:59:53 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ autodownloadupload ---
20:59:54 [INFO] Changes detected - recompiling the module!
20:59:54 [INFO] Compiling 53 source files to /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/target/classes
20:59:56 [WARNING] /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/src/main/java/com/bcxin/autodownloadupload/common/utils/Base64Util.java:[4,15] BASE64Decoder is internal proprietary API and may be removed in a future release
20:59:56 [WARNING] /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/src/main/java/com/bcxin/autodownloadupload/common/utils/Base64Util.java:[4,15] BASE64Decoder is internal proprietary API and may be removed in a future release
20:59:56 [WARNING] /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/src/main/java/com/bcxin/autodownloadupload/common/utils/Base64Util.java:[4,15] BASE64Decoder is internal proprietary API and may be removed in a future release
20:59:56 [WARNING] /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/src/main/java/com/bcxin/autodownloadupload/common/utils/Base64Util.java:[4,15] BASE64Decoder is internal proprietary API and may be removed in a future release
20:59:56 [WARNING] /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/src/main/java/com/bcxin/autodownloadupload/common/utils/Base64Util.java:[4,15] BASE64Decoder is internal proprietary API and may be removed in a future release
20:59:56 [WARNING] /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/src/main/java/com/bcxin/autodownloadupload/common/utils/Base64Util.java:[33,12] BASE64Decoder is internal proprietary API and may be removed in a future release
20:59:56 [WARNING] /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/src/main/java/com/bcxin/autodownloadupload/common/utils/Base64Util.java:[33,46] BASE64Decoder is internal proprietary API and may be removed in a future release
20:59:56 [INFO] 
20:59:56 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ autodownloadupload ---
20:59:56 [INFO] Using 'UTF-8' encoding to copy filtered resources.
20:59:56 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
20:59:56 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/src/test/resources
20:59:56 [INFO] 
20:59:56 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ autodownloadupload ---
20:59:56 [INFO] No sources to compile
20:59:57 [INFO] 
20:59:57 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ autodownloadupload ---
20:59:57 [INFO] Tests are skipped.
20:59:57 [INFO] 
20:59:57 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ autodownloadupload ---
20:59:57 [INFO] Building jar: /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/target/autodownloadupload-1.0.0.jar
20:59:57 [INFO] 
20:59:57 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ autodownloadupload ---
20:59:57 [INFO] Replacing main artifact with repackaged archive
20:59:58 [INFO] ------------------------------------------------------------------------
20:59:58 [INFO] BUILD SUCCESS
20:59:58 [INFO] ------------------------------------------------------------------------
20:59:58 [INFO] Total time:  6.100 s
20:59:58 [INFO] Finished at: 2025-11-28T20:59:58+08:00
20:59:58 [INFO] ------------------------------------------------------------------------
20:59:58 Waiting for Jenkins to finish collecting data
20:59:59 [JENKINS] Archiving /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/pom.xml to com.bcxin/autodownloadupload/1.0.0/autodownloadupload-1.0.0.pom
20:59:59 [JENKINS] Archiving /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/target/autodownloadupload-1.0.0.jar to com.bcxin/autodownloadupload/1.0.0/autodownloadupload-1.0.0.jar
20:59:59 [test-v5qy-bcxinurilfileutil] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins11242867576610568305.sh
20:59:59 channel stopped
20:59:59 + scp /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/target/autodownloadupload-1.0.0.jar 172.20.0.160:/data/workspace/autodownloadupload
20:59:59 [SSH] script:
20:59:59 =""
20:59:59 PATH="/usr/local/jdk1.8/bin:/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/maven/bin:/usr/local/git/bin"
20:59:59 JAVA_HOME="/usr/local/jdk1.8"
20:59:59 JAVA_CLASS="/usr/local/jdk1.8/lib"
20:59:59 HOME="/root"
20:59:59 
20:59:59 #JAVA
20:59:59 export JAVA_HOME=/usr/local/java
20:59:59 export JAVA_CLASS=$JAVA_HOME/lib
20:59:59 export PATH=$JAVA_HOME/bin:$PATH
20:59:59 
20:59:59 # 杀死进程
20:59:59 pid=$(ps -ef|grep autodownloadupload-1.0.0.jar |grep -v grep|awk '{print $2}')
20:59:59 if [ $pid -ne 0 ];then
20:59:59 	kill -9 $pid
20:59:59 fi
20:59:59 
20:59:59 sleep 5
20:59:59 
20:59:59 # 启动进程
20:59:59 cd /data/workspace/autodownloadupload
20:59:59 nohup java -Xms256m -Xmx256m -jar -Dlog4j2.formatMsgNoLookups=true autodownloadupload-1.0.0.jar --spring.profiles.active=out-te > autodownloadupload.log 2>&1 &
20:59:59 
20:59:59 [SSH] executing...
20:59:59 bash: =: 未找到命令
21:00:05 
21:00:05 [SSH] completed
21:00:05 [SSH] exit-status: 0
21:00:05 
21:00:05 Finished: SUCCESS