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