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