14:24:10 Started by user unknown or anonymous 14:24:10 Running as SYSTEM 14:24:10 Building in workspace /data/jenkins/workspace/badp-bcxin-message-center 14:24:10 The recommended git tool is: NONE 14:24:10 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 14:24:10 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/badp-bcxin-message-center/.git # timeout=10 14:24:10 Fetching changes from the remote Git repository 14:24:10 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/message-center/message-center.git # timeout=10 14:24:10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/message-center/message-center.git 14:24:10 > /usr/local/git/bin/git --version # timeout=10 14:24:10 > git --version # 'git version 2.43.0' 14:24:10 using GIT_ASKPASS to set credentials gitlab凭据 14:24:10 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/message-center/message-center.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:24:11 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 14:24:11 Checking out Revision a5befc757a71309d9c1364aab2eba3f944980b44 (refs/remotes/origin/test) 14:24:11 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 14:24:11 > /usr/local/git/bin/git checkout -f a5befc757a71309d9c1364aab2eba3f944980b44 # timeout=10 14:24:11 Commit message: "自定义创建群组能力" 14:24:11 > /usr/local/git/bin/git rev-list --no-walk a5befc757a71309d9c1364aab2eba3f944980b44 # timeout=10 14:24:11 [badp-bcxin-message-center] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins513536306362536122.sh 14:24:11 + cd /data/jenkins/workspace/badp-bcxin-message-center 14:24:11 + mvn clean package -DskipTests 14:24:12 [INFO] Scanning for projects... 14:24:12 [WARNING] 14:24:12 [WARNING] Some problems were encountered while building the effective model for com.bcxin:message-center:jar:1.0.0 14:24:12 [WARNING] 'dependencies.dependency.systemPath' for cn.wildfirechat:sdk:jar should not point at files within the project directory, ${project.basedir}/src/lib/sdk-1.3.8.jar will be unresolvable by dependent projects @ line 151, column 16 14:24:12 [WARNING] 'dependencies.dependency.systemPath' for cn.wildfirechat:common:jar should not point at files within the project directory, ${project.basedir}/src/lib/common-1.3.8.jar will be unresolvable by dependent projects @ line 158, column 16 14:24:12 [WARNING] 14:24:12 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. 14:24:12 [WARNING] 14:24:12 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. 14:24:12 [WARNING] 14:24:12 [INFO] 14:24:12 [INFO] ----------------------< com.bcxin:message-center >---------------------- 14:24:12 [INFO] Building message-center 1.0.0 14:24:12 [INFO] --------------------------------[ jar ]--------------------------------- 14:24:13 [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been relocated to com.mysql:mysql-connector-j:jar:8.0.31 14:24:13 [INFO] 14:24:13 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ message-center --- 14:24:13 [INFO] Deleting /data/jenkins/workspace/badp-bcxin-message-center/target 14:24:14 [INFO] 14:24:14 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ message-center --- 14:24:14 [INFO] Using 'UTF-8' encoding to copy filtered resources. 14:24:14 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 14:24:14 [INFO] Copying 4 resources 14:24:14 [INFO] Copying 18 resources 14:24:14 [INFO] 14:24:14 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ message-center --- 14:24:14 [INFO] Changes detected - recompiling the module! 14:24:14 [INFO] Compiling 117 source files to /data/jenkins/workspace/badp-bcxin-message-center/target/classes 14:24:17 [WARNING] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 14:24:17 [WARNING] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 14:24:17 [WARNING] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 14:24:17 [WARNING] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 14:24:17 [WARNING] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 14:24:17 [WARNING] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/Base64Util.java:[57,13] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 14:24:17 [WARNING] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/Base64Util.java:[57,47] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 14:24:17 [INFO] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/IdGeneratorSnowflake.java: /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/IdGeneratorSnowflake.java uses or overrides a deprecated API. 14:24:17 [INFO] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/IdGeneratorSnowflake.java: Recompile with -Xlint:deprecation for details. 14:24:17 [INFO] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/exception/GlobalExceptionHandler.java: Some input files use unchecked or unsafe operations. 14:24:17 [INFO] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/exception/GlobalExceptionHandler.java: Recompile with -Xlint:unchecked for details. 14:24:17 [INFO] 14:24:17 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ message-center --- 14:24:17 [INFO] Using 'UTF-8' encoding to copy filtered resources. 14:24:17 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 14:24:17 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/badp-bcxin-message-center/src/test/resources 14:24:17 [INFO] 14:24:17 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ message-center --- 14:24:17 [INFO] No sources to compile 14:24:17 [INFO] 14:24:17 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ message-center --- 14:24:17 [INFO] Tests are skipped. 14:24:17 [INFO] 14:24:17 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ message-center --- 14:24:18 [INFO] Building jar: /data/jenkins/workspace/badp-bcxin-message-center/target/message-center-1.0.0.jar 14:24:18 [INFO] 14:24:18 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ message-center --- 14:24:18 [INFO] Replacing main artifact with repackaged archive 14:24:18 [INFO] ------------------------------------------------------------------------ 14:24:18 [INFO] BUILD SUCCESS 14:24:18 [INFO] ------------------------------------------------------------------------ 14:24:18 [INFO] Total time: 6.139 s 14:24:18 [INFO] Finished at: 2025-09-01T14:24:18+08:00 14:24:18 [INFO] ------------------------------------------------------------------------ 14:24:18 + scp /data/jenkins/workspace/badp-bcxin-message-center/target/message-center-1.0.0.jar 172.20.0.7:/data/workspace/badp-bcxin-message-center/ 14:24:19 [SSH] script: 14:24:19 ="" 14:24:19 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" 14:24:19 JAVA_HOME="/usr/local/jdk1.8" 14:24:19 JAVA_CLASS="/usr/local/jdk1.8/lib" 14:24:19 HOME="/root" 14:24:19 14:24:19 #JAVA 14:24:19 export JAVA_HOME=/usr/local/java 14:24:19 export JAVA_CLASS=$JAVA_HOME/lib 14:24:19 export PATH=$JAVA_HOME/bin:$PATH 14:24:19 14:24:19 14:24:19 # 杀死进程 14:24:19 pid=$(ps -ef|grep message-center-1.0.0.jar |grep -v grep|awk '{print $2}') 14:24:19 if [ $pid ];then 14:24:19 kill -9 $pid 14:24:19 fi 14:24:19 14:24:19 sleep 5 14:24:19 14:24:19 # 启动进程 14:24:19 cd /data/workspace/badp-bcxin-message-center/ 14:24:19 sh start.sh 14:24:19 14:24:19 14:24:19 [SSH] executing... 14:24:19 bash: =: command not found 14:24:25 14:24:25 [SSH] completed 14:24:25 [SSH] exit-status: 0 14:24:25 14:24:25 Finished: SUCCESS