16:56:38 Started by user unknown or anonymous 16:56:38 Running as SYSTEM 16:56:38 Building in workspace /data/jenkins/workspace/BCX-data-sync 16:56:38 The recommended git tool is: NONE 16:56:38 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 16:56:38 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/BCX-data-sync/.git # timeout=10 16:56:38 Fetching changes from the remote Git repository 16:56:38 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/third-party-system/bcx-data-sync.git # timeout=10 16:56:38 Fetching upstream changes from https://gitlab.arsbaibaodun.com/third-party-system/bcx-data-sync.git 16:56:38 > /usr/local/git/bin/git --version # timeout=10 16:56:38 > git --version # 'git version 2.43.0' 16:56:38 using GIT_ASKPASS to set credentials gitlab凭据 16:56:38 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/third-party-system/bcx-data-sync.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:56:38 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 16:56:38 Checking out Revision e8a0505dc3a78b80f6f8fa60cc38d9883256f286 (refs/remotes/origin/test) 16:56:38 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 16:56:38 > /usr/local/git/bin/git checkout -f e8a0505dc3a78b80f6f8fa60cc38d9883256f286 # timeout=10 16:56:38 Commit message: "华为视频下载优化" 16:56:38 > /usr/local/git/bin/git rev-list --no-walk 90e8ea1ecd3969f67309d51ec1532347e9c85346 # timeout=10 16:56:38 [BCX-data-sync] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins5296765698783731563.sh 16:56:38 + cd /data/jenkins/workspace/BCX-data-sync 16:56:38 + mvn clean package -DskipTests 16:56:40 [INFO] Scanning for projects... 16:56:40 [INFO] 16:56:40 [INFO] ----------------------< com.bcxin:bcx-data-sync >----------------------- 16:56:40 [INFO] Building bcx-data-sync 1.0.0 16:56:40 [INFO] --------------------------------[ jar ]--------------------------------- 16:56:42 [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:56:42 [INFO] 16:56:42 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ bcx-data-sync --- 16:56:42 [INFO] Deleting /data/jenkins/workspace/BCX-data-sync/target 16:56:42 [INFO] 16:56:42 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ bcx-data-sync --- 16:56:42 [INFO] Using 'UTF-8' encoding to copy filtered resources. 16:56:42 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 16:56:42 [INFO] Copying 4 resources 16:56:42 [INFO] Copying 54 resources 16:56:42 [INFO] 16:56:42 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ bcx-data-sync --- 16:56:42 [INFO] Changes detected - recompiling the module! 16:56:42 [INFO] Compiling 318 source files to /data/jenkins/workspace/BCX-data-sync/target/classes 16:56:49 [INFO] /data/jenkins/workspace/BCX-data-sync/src/main/java/com/bcxin/sync/configs/CustomTokenEnhancer.java: Some input files use or override a deprecated API. 16:56:49 [INFO] /data/jenkins/workspace/BCX-data-sync/src/main/java/com/bcxin/sync/configs/CustomTokenEnhancer.java: Recompile with -Xlint:deprecation for details. 16:56:49 [INFO] /data/jenkins/workspace/BCX-data-sync/src/main/java/com/bcxin/sync/dtos/response/result/RespResult.java: Some input files use unchecked or unsafe operations. 16:56:49 [INFO] /data/jenkins/workspace/BCX-data-sync/src/main/java/com/bcxin/sync/dtos/response/result/RespResult.java: Recompile with -Xlint:unchecked for details. 16:56:49 [INFO] 16:56:49 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ bcx-data-sync --- 16:56:49 [INFO] Using 'UTF-8' encoding to copy filtered resources. 16:56:49 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 16:56:49 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/BCX-data-sync/src/test/resources 16:56:49 [INFO] 16:56:49 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ bcx-data-sync --- 16:56:49 [INFO] No sources to compile 16:56:49 [INFO] 16:56:49 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ bcx-data-sync --- 16:56:50 [INFO] Tests are skipped. 16:56:50 [INFO] 16:56:50 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ bcx-data-sync --- 16:56:50 [INFO] Building jar: /data/jenkins/workspace/BCX-data-sync/target/bcx-data-sync-1.0.0.jar 16:56:50 [INFO] 16:56:50 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ bcx-data-sync --- 16:56:57 [INFO] Replacing main artifact with repackaged archive 16:56:57 [INFO] ------------------------------------------------------------------------ 16:56:57 [INFO] BUILD SUCCESS 16:56:57 [INFO] ------------------------------------------------------------------------ 16:56:57 [INFO] Total time: 17.150 s 16:56:57 [INFO] Finished at: 2025-07-28T16:56:57+08:00 16:56:57 [INFO] ------------------------------------------------------------------------ 16:56:57 + scp /data/jenkins/workspace/BCX-data-sync/target/bcx-data-sync-1.0.0.jar 172.20.0.7:/data/workspace/BCX-data-sync/ 16:57:04 [SSH] script: 16:57:04 ="" 16:57:04 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" 16:57:04 JAVA_HOME="/usr/local/jdk1.8" 16:57:04 JAVA_CLASS="/usr/local/jdk1.8/lib" 16:57:04 HOME="/root" 16:57:04 16:57:04 #JAVA 16:57:04 export JAVA_HOME=/usr/local/java 16:57:04 export JAVA_CLASS=$JAVA_HOME/lib 16:57:04 export PATH=$JAVA_HOME/bin:$PATH 16:57:04 16:57:04 # 杀死进程 16:57:04 pid=$(ps -ef|grep bcx-data-sync-1.0.0.jar |grep -v grep|awk '{print $2}') 16:57:04 if [ $pid ];then 16:57:04 kill -9 $pid 16:57:04 fi 16:57:04 16:57:04 sleep 5 16:57:04 16:57:04 # 启动进程 16:57:04 cd /data/workspace/BCX-data-sync/ 16:57:04 nohup java -Xms512m -Xmx512m -jar bcx-data-sync-1.0.0.jar --spring.profiles.active=test &> /dev/null & 16:57:04 16:57:04 [SSH] executing... 16:57:04 bash: =: command not found 16:57:10 16:57:10 [SSH] completed 16:57:10 [SSH] exit-status: 0 16:57:10 16:57:10 Finished: SUCCESS