Started by user unknown or anonymous Running as SYSTEM Building in workspace /data/jenkins/workspace/badp-bcxin-message-center The recommended git tool is: NONE using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/badp-bcxin-message-center/.git # timeout=10 Fetching changes from the remote Git repository > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/message-center/message-center.git # timeout=10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/message-center/message-center.git > /usr/local/git/bin/git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials gitlab凭据 > /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 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 Checking out Revision ba68f8b9f78508e441ae040fc40c505a951255b8 (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f ba68f8b9f78508e441ae040fc40c505a951255b8 # timeout=10 Commit message: "消息中心服务重新设计与优化" > /usr/local/git/bin/git rev-list --no-walk b5479fa2d41a090934022b0d9fe7e0616509d563 # timeout=10 [badp-bcxin-message-center] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins7420602454285962053.sh + cd /data/jenkins/workspace/badp-bcxin-message-center + mvn clean package -DskipTests [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.bcxin:message-center:jar:1.0.0 [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.5.jar will be unresolvable by dependent projects @ line 145, column 16 [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.5.jar will be unresolvable by dependent projects @ line 152, column 16 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ----------------------< com.bcxin:message-center >---------------------- [INFO] Building message-center 1.0.0 [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been relocated to com.mysql:mysql-connector-j:jar:8.0.31 [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ message-center --- [INFO] Deleting /data/jenkins/workspace/badp-bcxin-message-center/target [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ message-center --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 3 resources [INFO] Copying 9 resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ message-center --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 76 source files to /data/jenkins/workspace/badp-bcxin-message-center/target/classes [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 [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 [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 [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 [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 [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 [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 [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. [INFO] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/utils/IdGeneratorSnowflake.java: Recompile with -Xlint:deprecation for details. [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. [INFO] /data/jenkins/workspace/badp-bcxin-message-center/src/main/java/com/bcxin/message/common/exception/GlobalExceptionHandler.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ message-center --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /data/jenkins/workspace/badp-bcxin-message-center/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ message-center --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ message-center --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ message-center --- [INFO] Building jar: /data/jenkins/workspace/badp-bcxin-message-center/target/message-center-1.0.0.jar [INFO] [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ message-center --- [INFO] Replacing main artifact with repackaged archive [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.728 s [INFO] Finished at: 2025-07-17T13:52:43+08:00 [INFO] ------------------------------------------------------------------------ + 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/ [SSH] script: ="" 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" JAVA_HOME="/usr/local/jdk1.8" JAVA_CLASS="/usr/local/jdk1.8/lib" HOME="/root" #JAVA export JAVA_HOME=/usr/local/java export JAVA_CLASS=$JAVA_HOME/lib export PATH=$JAVA_HOME/bin:$PATH # 杀死进程 pid=$(ps -ef|grep message-center-1.0.0.jar |grep -v grep|awk '{print $2}') if [ $pid ];then kill -9 $pid fi sleep 5 # 启动进程 cd /data/workspace/badp-bcxin-message-center/ sh start.sh [SSH] executing... bash: =: command not found [SSH] completed [SSH] exit-status: 0 Finished: SUCCESS