Skip to content

Console Output

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