18:37:23 Started by user unknown or anonymous
18:37:23 Running as SYSTEM
18:37:23 Building in workspace /data/jenkins/workspace/test-v5qy--ferry
18:37:23 The recommended git tool is: NONE
18:37:23 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
18:37:23 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/test-v5qy--ferry/.git # timeout=10
18:37:23 Fetching changes from the remote Git repository
18:37:23 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git # timeout=10
18:37:23 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git
18:37:23 > /usr/local/git/bin/git --version # timeout=10
18:37:23 > git --version # 'git version 2.43.0'
18:37:23 using GIT_ASKPASS to set credentials gitlab凭据
18:37:23 > /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
18:37:23 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10
18:37:23 Checking out Revision ba0baa46c09929f33ca4ef87053719cc14112bf5 (refs/remotes/origin/test)
18:37:23 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
18:37:23 > /usr/local/git/bin/git checkout -f ba0baa46c09929f33ca4ef87053719cc14112bf5 # timeout=10
18:37:24 Commit message: "add 统计日期、总包大小、拉取次数以及平均大小进行了整合,并根据你的需求使用了中文标题"
18:37:24 > /usr/local/git/bin/git rev-list --no-walk ced26aef7febe9345614fa57f1c2f61e7891c12f # timeout=10
18:37:24 [test-v5qy--ferry] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins5098096897732857605.sh
18:37:24 + cd /data/jenkins/workspace/test-v5qy--ferry
18:37:24 + mvn clean package -DskipTests -Pout-test
18:37:26 [INFO] Scanning for projects...
18:37:26 [INFO]
18:37:26 [INFO] -------------------------< com.bcxin:bj-ferry >-------------------------
18:37:26 [INFO] Building bj-ferry 1.0.0
18:37:26 [INFO] --------------------------------[ jar ]---------------------------------
18:37:27 [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:37:27 [INFO]
18:37:27 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ bj-ferry ---
18:37:27 [INFO] Deleting /data/jenkins/workspace/test-v5qy--ferry/target
18:37:27 [INFO]
18:37:27 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ bj-ferry ---
18:37:28 [INFO] Using 'UTF-8' encoding to copy filtered resources.
18:37:28 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
18:37:28 [INFO] Copying 6 resources
18:37:28 [INFO] Copying 9 resources
18:37:28 [INFO]
18:37:28 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ bj-ferry ---
18:37:28 [INFO] Changes detected - recompiling the module!
18:37:28 [INFO] Compiling 102 source files to /data/jenkins/workspace/test-v5qy--ferry/target/classes
18:37:34 [WARNING] /data/jenkins/workspace/test-v5qy--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
18:37:34 [WARNING] /data/jenkins/workspace/test-v5qy--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
18:37:34 [WARNING] /data/jenkins/workspace/test-v5qy--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
18:37:34 [WARNING] /data/jenkins/workspace/test-v5qy--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
18:37:34 [WARNING] /data/jenkins/workspace/test-v5qy--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
18:37:34 [WARNING] /data/jenkins/workspace/test-v5qy--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
18:37:34 [WARNING] /data/jenkins/workspace/test-v5qy--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
18:37:34 [INFO] /data/jenkins/workspace/test-v5qy--ferry/src/main/java/com/bcxin/ferry/dtos/response/result/RespResult.java: Some input files use unchecked or unsafe operations.
18:37:34 [INFO] /data/jenkins/workspace/test-v5qy--ferry/src/main/java/com/bcxin/ferry/dtos/response/result/RespResult.java: Recompile with -Xlint:unchecked for details.
18:37:34 [INFO]
18:37:34 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ bj-ferry ---
18:37:34 [INFO] Using 'UTF-8' encoding to copy filtered resources.
18:37:34 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
18:37:34 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/test-v5qy--ferry/src/test/resources
18:37:34 [INFO]
18:37:34 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ bj-ferry ---
18:37:34 [INFO] No sources to compile
18:37:34 [INFO]
18:37:34 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ bj-ferry ---
18:37:34 [INFO] Tests are skipped.
18:37:34 [INFO]
18:37:34 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ bj-ferry ---
18:37:34 [INFO] Building jar: /data/jenkins/workspace/test-v5qy--ferry/target/bj-ferry-1.0.0.jar
18:37:34 [INFO]
18:37:34 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ bj-ferry ---
18:37:35 [INFO] Replacing main artifact with repackaged archive
18:37:35 [INFO] ------------------------------------------------------------------------
18:37:35 [INFO] BUILD SUCCESS
18:37:35 [INFO] ------------------------------------------------------------------------
18:37:35 [INFO] Total time: 9.376 s
18:37:35 [INFO] Finished at: 2025-12-22T18:37:35+08:00
18:37:35 [INFO] ------------------------------------------------------------------------
18:37:35 [WARNING] The requested profile "out-test" could not be activated because it does not exist.
18:37:35 + scp /data/jenkins/workspace/test-v5qy--ferry/target/bj-ferry-1.0.0.jar 172.20.0.160:/data/workspace/ferry
18:37:35 [SSH] script:
18:37:35 =""
18:37:35 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"
18:37:35 JAVA_HOME="/usr/local/jdk1.8"
18:37:35 JAVA_CLASS="/usr/local/jdk1.8/lib"
18:37:35 HOME="/root"
18:37:35
18:37:35 #JAVA
18:37:35 export JAVA_HOME=/usr/local/java
18:37:35 export JAVA_CLASS=$JAVA_HOME/lib
18:37:35 export PATH=$JAVA_HOME/bin:$PATH
18:37:35
18:37:35 # 杀死进程
18:37:35 pid=$(ps -ef|grep bj-ferry-1.0.0.jar |grep -v grep|awk '{print $2}')
18:37:35 if [ $pid ];then
18:37:35 kill -9 $pid
18:37:35 fi
18:37:35
18:37:35 sleep 5
18:37:35
18:37:35 # 启动进程
18:37:35 cd /data/workspace/ferry
18:37:35 nohup java -Xms1024m -Xmx1024m -jar bj-ferry-1.0.0.jar --spring.profiles.active=out-test &> /dev/null &
18:37:35
18:37:35 [SSH] executing...
18:37:36 bash: =: 未找到命令
18:37:42
18:37:42 [SSH] completed
18:37:42 [SSH] exit-status: 0
18:37:42
18:37:42 Finished: SUCCESS