16:50:54 Started by user unknown or anonymous 16:50:54 Running as SYSTEM 16:50:54 Building in workspace /data/jenkins/workspace/test-v5in-ferry 16:50:54 The recommended git tool is: NONE 16:50:54 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 16:50:54 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/test-v5in-ferry/.git # timeout=10 16:50:54 Fetching changes from the remote Git repository 16:50:54 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git # timeout=10 16:50:54 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git 16:50:54 > /usr/local/git/bin/git --version # timeout=10 16:50:54 > git --version # 'git version 2.43.0' 16:50:54 using GIT_ASKPASS to set credentials gitlab凭据 16:50:54 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:50:56 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 16:50:56 Checking out Revision 654d860a9d7f80b494b80304dce81af4eb241b0a (refs/remotes/origin/test) 16:50:56 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 16:50:56 > /usr/local/git/bin/git checkout -f 654d860a9d7f80b494b80304dce81af4eb241b0a # timeout=10 16:50:56 Commit message: "关闭druid监控页面" 16:50:56 > /usr/local/git/bin/git rev-list --no-walk 3ca05edee56e334254a7c64ae1da8e5e86ae1dbf # timeout=10 16:50:56 [test-v5in-ferry] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins12486184601978045952.sh 16:50:56 + cd /data/jenkins/workspace/test-v5in-ferry 16:50:56 + mvn clean package -DskipTests -Pin-test 16:50:57 [INFO] Scanning for projects... 16:50:57 [INFO] 16:50:57 [INFO] -------------------------< com.bcxin:bj-ferry >------------------------- 16:50:57 [INFO] Building bj-ferry 1.0.0 16:50:57 [INFO] --------------------------------[ jar ]--------------------------------- 16:50:58 [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been relocated to com.mysql:mysql-connector-j:jar:8.0.31 16:50:58 [INFO] 16:50:58 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ bj-ferry --- 16:50:58 [INFO] Deleting /data/jenkins/workspace/test-v5in-ferry/target 16:50:58 [INFO] 16:50:58 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ bj-ferry --- 16:50:58 [INFO] Using 'UTF-8' encoding to copy filtered resources. 16:50:58 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 16:50:58 [INFO] Copying 6 resources 16:50:58 [INFO] Copying 9 resources 16:50:58 [INFO] 16:50:58 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ bj-ferry --- 16:50:58 [INFO] Changes detected - recompiling the module! 16:50:58 [INFO] Compiling 102 source files to /data/jenkins/workspace/test-v5in-ferry/target/classes 16:51:01 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 16:51:01 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 16:51:01 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 16:51:01 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 16:51:01 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 16:51:01 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[48,13] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 16:51:01 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[48,47] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 16:51:01 [INFO] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/dtos/response/result/RespResult.java: Some input files use unchecked or unsafe operations. 16:51:01 [INFO] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/dtos/response/result/RespResult.java: Recompile with -Xlint:unchecked for details. 16:51:01 [INFO] 16:51:01 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ bj-ferry --- 16:51:01 [INFO] Using 'UTF-8' encoding to copy filtered resources. 16:51:01 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 16:51:01 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/test-v5in-ferry/src/test/resources 16:51:01 [INFO] 16:51:01 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ bj-ferry --- 16:51:01 [INFO] No sources to compile 16:51:01 [INFO] 16:51:01 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ bj-ferry --- 16:51:02 [INFO] Tests are skipped. 16:51:02 [INFO] 16:51:02 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ bj-ferry --- 16:51:02 [INFO] Building jar: /data/jenkins/workspace/test-v5in-ferry/target/bj-ferry-1.0.0.jar 16:51:02 [INFO] 16:51:02 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ bj-ferry --- 16:51:03 [INFO] Replacing main artifact with repackaged archive 16:51:03 [INFO] ------------------------------------------------------------------------ 16:51:03 [INFO] BUILD SUCCESS 16:51:03 [INFO] ------------------------------------------------------------------------ 16:51:03 [INFO] Total time: 5.833 s 16:51:03 [INFO] Finished at: 2025-08-06T16:51:03+08:00 16:51:03 [INFO] ------------------------------------------------------------------------ 16:51:03 [WARNING] The requested profile "in-test" could not be activated because it does not exist. 16:51:03 + scp /data/jenkins/workspace/test-v5in-ferry/target/bj-ferry-1.0.0.jar 172.20.0.248:/data/workspace/ferry 16:51:06 [SSH] script: 16:51:06 ="" 16:51:06 PATH="/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" 16:51:06 JAVA_HOME="/usr/local/jdk1.8" 16:51:06 JAVA_CLASS="/usr/local/jdk1.8/lib" 16:51:06 HOME="/root" 16:51:06 16:51:06 #JAVA 16:51:06 export JAVA_HOME=/usr/local/java 16:51:06 export JAVA_CLASS=$JAVA_HOME/lib 16:51:06 export PATH=$JAVA_HOME/bin:$PATH 16:51:06 16:51:06 # 杀死进程 16:51:06 pid=$(ps -ef|grep bj-ferry-1.0.0.jar |grep -v grep|awk '{print $2}') 16:51:06 if [ $pid ];then 16:51:06 kill -9 $pid 16:51:06 fi 16:51:06 16:51:06 sleep 5 16:51:06 16:51:06 # 启动进程 16:51:06 cd /data/workspace/ferry 16:51:06 nohup java -Xms1024m -Xmx1024m -jar bj-ferry-1.0.0.jar --spring.profiles.active=in-test &> /dev/null & 16:51:06 16:51:06 16:51:06 [SSH] executing... 16:51:07 bash: =: command not found 16:51:12 16:51:12 [SSH] completed 16:51:12 [SSH] exit-status: 0 16:51:12 16:51:12 Finished: SUCCESS