11:19:25 Started by user unknown or anonymous 11:19:25 Running as SYSTEM 11:19:25 Building in workspace /data/jenkins/workspace/badp-bcxin-message-center 11:19:25 The recommended git tool is: NONE 11:19:25 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 11:19:25 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/badp-bcxin-message-center/.git # timeout=10 11:19:25 Fetching changes from the remote Git repository 11:19:25 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/message-center/message-center.git # timeout=10 11:19:25 Fetching upstream changes from https://gitlab.arsbaibaodun.com/message-center/message-center.git 11:19:25 > /usr/local/git/bin/git --version # timeout=10 11:19:25 > git --version # 'git version 2.43.0' 11:19:25 using GIT_ASKPASS to set credentials gitlab凭据 11:19:25 > /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 11:19:25 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 11:19:25 Checking out Revision a5befc757a71309d9c1364aab2eba3f944980b44 (refs/remotes/origin/test) 11:19:25 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 11:19:25 > /usr/local/git/bin/git checkout -f a5befc757a71309d9c1364aab2eba3f944980b44 # timeout=10 11:19:25 Commit message: "自定义创建群组能力" 11:19:25 > /usr/local/git/bin/git rev-list --no-walk 12abf59a7b737d81c63ac6b1b480eb5949e41f61 # timeout=10 11:19:25 [badp-bcxin-message-center] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins8203871109871535286.sh 11:19:25 + cd /data/jenkins/workspace/badp-bcxin-message-center 11:19:25 + mvn clean package -DskipTests 11:19:26 [INFO] Scanning for projects... 11:19:27 [WARNING] 11:19:27 [WARNING] Some problems were encountered while building the effective model for com.bcxin:message-center:jar:1.0.0 11:19:27 [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 11:19:27 [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 11:19:27 [WARNING] 11:19:27 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. 11:19:27 [WARNING] 11:19:27 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. 11:19:27 [WARNING] 11:19:27 [INFO] 11:19:27 [INFO] ----------------------< com.bcxin:message-center >---------------------- 11:19:27 [INFO] Building message-center 1.0.0 11:19:27 [INFO] --------------------------------[ jar ]--------------------------------- 11:19: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 11:19:27 [INFO] 11:19:27 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ message-center --- 11:19:28 [INFO] Deleting /data/jenkins/workspace/badp-bcxin-message-center/target 11:19:28 [INFO] 11:19:28 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ message-center --- 11:19:28 [INFO] Using 'UTF-8' encoding to copy filtered resources. 11:19:28 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 11:19:28 [INFO] Copying 4 resources 11:19:28 [INFO] Copying 18 resources 11:19:28 [INFO] 11:19:28 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ message-center --- 11:19:28 [INFO] Changes detected - recompiling the module! 11:19:28 [INFO] Compiling 117 source files to /data/jenkins/workspace/badp-bcxin-message-center/target/classes 11:19:31 [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 11:19:31 [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 11:19:31 [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 11:19:31 [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 11:19:31 [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 11:19:31 [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 11:19:31 [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 11:19:31 [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. 11:19:31 [INFO] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/IdGeneratorSnowflake.java: Recompile with -Xlint:deprecation for details. 11:19:31 [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. 11:19:31 [INFO] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/exception/GlobalExceptionHandler.java: Recompile with -Xlint:unchecked for details. 11:19:31 [INFO] 11:19:31 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ message-center --- 11:19:31 [INFO] Using 'UTF-8' encoding to copy filtered resources. 11:19:31 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 11:19:31 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/badp-bcxin-message-center/src/test/resources 11:19:31 [INFO] 11:19:31 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ message-center --- 11:19:31 [INFO] No sources to compile 11:19:31 [INFO] 11:19:31 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ message-center --- 11:19:32 [INFO] Tests are skipped. 11:19:32 [INFO] 11:19:32 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ message-center --- 11:19:32 [INFO] Building jar: /data/jenkins/workspace/badp-bcxin-message-center/target/message-center-1.0.0.jar 11:19:32 [INFO] 11:19:32 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ message-center --- 11:19:33 [INFO] Replacing main artifact with repackaged archive 11:19:33 [INFO] ------------------------------------------------------------------------ 11:19:33 [INFO] BUILD SUCCESS 11:19:33 [INFO] ------------------------------------------------------------------------ 11:19:33 [INFO] Total time: 6.367 s 11:19:33 [INFO] Finished at: 2025-08-28T11:19:33+08:00 11:19:33 [INFO] ------------------------------------------------------------------------ 11:19:33 + 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/ 11:19:34 [SSH] script: 11:19:34 ="" 11:19:34 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" 11:19:34 JAVA_HOME="/usr/local/jdk1.8" 11:19:34 JAVA_CLASS="/usr/local/jdk1.8/lib" 11:19:34 HOME="/root" 11:19:34 11:19:34 #JAVA 11:19:34 export JAVA_HOME=/usr/local/java 11:19:34 export JAVA_CLASS=$JAVA_HOME/lib 11:19:34 export PATH=$JAVA_HOME/bin:$PATH 11:19:34 11:19:34 11:19:34 # 杀死进程 11:19:34 pid=$(ps -ef|grep message-center-1.0.0.jar |grep -v grep|awk '{print $2}') 11:19:34 if [ $pid ];then 11:19:34 kill -9 $pid 11:19:34 fi 11:19:34 11:19:34 sleep 5 11:19:34 11:19:34 # 启动进程 11:19:34 cd /data/workspace/badp-bcxin-message-center/ 11:19:34 sh start.sh 11:19:34 11:19:34 11:19:34 [SSH] executing... 11:19:35 bash: =: command not found 11:19:41 11:19:41 [SSH] completed 11:19:41 [SSH] exit-status: 0 11:19:41 11:19:41 Finished: SUCCESS