13:28:09 Started by user unknown or anonymous 13:28:09 Running as SYSTEM 13:28:09 Building in workspace /data/jenkins/workspace/bcx-fdd 13:28:09 The recommended git tool is: NONE 13:28:09 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 13:28:09 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/bcx-fdd/.git # timeout=10 13:28:09 Fetching changes from the remote Git repository 13:28:09 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/third-party-system/bcx-fdd.git # timeout=10 13:28:09 Fetching upstream changes from https://gitlab.arsbaibaodun.com/third-party-system/bcx-fdd.git 13:28:09 > /usr/local/git/bin/git --version # timeout=10 13:28:09 > git --version # 'git version 2.43.0' 13:28:09 using GIT_ASKPASS to set credentials gitlab凭据 13:28:09 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/third-party-system/bcx-fdd.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:28:09 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 13:28:09 Checking out Revision d4530821541909844dbf16d368436774d6f08841 (refs/remotes/origin/test) 13:28:09 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 13:28:09 > /usr/local/git/bin/git checkout -f d4530821541909844dbf16d368436774d6f08841 # timeout=10 13:28:09 Commit message: "签署任务支持其他合同修改" 13:28:09 > /usr/local/git/bin/git rev-list --no-walk ab0b9a3245c00be9c22d779b01b74591a2ad6f5f # timeout=10 13:28:09 [bcx-fdd] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins16269239243796849968.sh 13:28:09 + cd /data/jenkins/workspace/bcx-fdd/ 13:28:09 + mvn clean package -DskipTests -Pout-test 13:28:10 [INFO] Scanning for projects... 13:28:11 [INFO] 13:28:11 [INFO] -------------------------< com.bcxin:bcx-fdd >-------------------------- 13:28:11 [INFO] Building bcx-fdd 1.0.0 13:28:11 [INFO] --------------------------------[ jar ]--------------------------------- 13:28:12 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/boot/spring-boot-starter-validation/3.0.2/spring-boot-starter-validation-3.0.2.pom 13:28:12 Progress (1): 2.5 kB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/boot/spring-boot-starter-validation/3.0.2/spring-boot-starter-validation-3.0.2.pom (2.5 kB at 4.1 kB/s) 13:28:13 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/hibernate/validator/hibernate-validator/6.2.5.Final/hibernate-validator-6.2.5.Final.pom 13:28:13 Progress (1): 3.6/14 kB Progress (1): 7.7/14 kB Progress (1): 12/14 kB Progress (1): 14 kB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/hibernate/validator/hibernate-validator/6.2.5.Final/hibernate-validator-6.2.5.Final.pom (14 kB at 76 kB/s) 13:28:13 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/hibernate/validator/hibernate-validator-parent/6.2.5.Final/hibernate-validator-parent-6.2.5.Final.pom 13:28:13 Progress (1): 3.6/78 kB Progress (1): 7.7/78 kB Progress (1): 12/78 kB Progress (1): 16/78 kB Progress (1): 20/78 kB Progress (1): 24/78 kB Progress (1): 28/78 kB Progress (1): 32/78 kB Progress (1): 36/78 kB Progress (1): 40/78 kB Progress (1): 45/78 kB Progress (1): 49/78 kB Progress (1): 53/78 kB Progress (1): 57/78 kB Progress (1): 61/78 kB Progress (1): 65/78 kB Progress (1): 69/78 kB Progress (1): 73/78 kB Progress (1): 77/78 kB Progress (1): 78 kB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/hibernate/validator/hibernate-validator-parent/6.2.5.Final/hibernate-validator-parent-6.2.5.Final.pom (78 kB at 382 kB/s) 13:28: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 13:28:13 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/boot/spring-boot-starter-validation/3.0.2/spring-boot-starter-validation-3.0.2.jar 13:28:13 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/hibernate/validator/hibernate-validator/6.2.5.Final/hibernate-validator-6.2.5.Final.jar 13:28:13 Progress (1): 0/1.3 MB Progress (1): 0/1.3 MB Progress (1): 0/1.3 MB Progress (1): 0/1.3 MB Progress (1): 0/1.3 MB Progress (1): 0/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.1/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.2/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.3/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.4/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.5/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.6/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.7/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.8/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 0.9/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.0/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.1/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.2/1.3 MB Progress (1): 1.3/1.3 MB Progress (1): 1.3/1.3 MB Progress (1): 1.3/1.3 MB Progress (1): 1.3/1.3 MB Progress (1): 1.3/1.3 MB Progress (1): 1.3/1.3 MB Progress (1): 1.3/1.3 MB Progress (1): 1.3/1.3 MB Progress (1): 1.3/1.3 MB Progress (1): 1.3 MB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/hibernate/validator/hibernate-validator/6.2.5.Final/hibernate-validator-6.2.5.Final.jar (1.3 MB at 1.4 MB/s) 13:28:14 Progress (1): 3.6/4.8 kB Progress (1): 4.8 kB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/boot/spring-boot-starter-validation/3.0.2/spring-boot-starter-validation-3.0.2.jar (4.8 kB at 3.9 kB/s) 13:28:14 [INFO] 13:28:14 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ bcx-fdd --- 13:28:14 [INFO] Deleting /data/jenkins/workspace/bcx-fdd/target 13:28:14 [INFO] 13:28:14 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ bcx-fdd --- 13:28:15 [INFO] Using 'UTF-8' encoding to copy filtered resources. 13:28:15 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 13:28:15 [INFO] Copying 4 resources 13:28:15 [INFO] Copying 3 resources 13:28:15 [INFO] 13:28:15 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ bcx-fdd --- 13:28:15 [INFO] Changes detected - recompiling the module! 13:28:15 [INFO] Compiling 53 source files to /data/jenkins/workspace/bcx-fdd/target/classes 13:28:18 [INFO] /data/jenkins/workspace/bcx-fdd/src/main/java/com/bcxin/fdd/common/utils/IdGeneratorSnowflake.java: /data/jenkins/workspace/bcx-fdd/src/main/java/com/bcxin/fdd/common/utils/IdGeneratorSnowflake.java uses or overrides a deprecated API. 13:28:18 [INFO] /data/jenkins/workspace/bcx-fdd/src/main/java/com/bcxin/fdd/common/utils/IdGeneratorSnowflake.java: Recompile with -Xlint:deprecation for details. 13:28:18 [INFO] /data/jenkins/workspace/bcx-fdd/src/main/java/com/bcxin/fdd/service/RedisService.java: Some input files use unchecked or unsafe operations. 13:28:18 [INFO] /data/jenkins/workspace/bcx-fdd/src/main/java/com/bcxin/fdd/service/RedisService.java: Recompile with -Xlint:unchecked for details. 13:28:18 [INFO] 13:28:18 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ bcx-fdd --- 13:28:18 [INFO] Using 'UTF-8' encoding to copy filtered resources. 13:28:18 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 13:28:18 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/bcx-fdd/src/test/resources 13:28:18 [INFO] 13:28:18 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ bcx-fdd --- 13:28:18 [INFO] No sources to compile 13:28:18 [INFO] 13:28:18 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ bcx-fdd --- 13:28:18 [INFO] Tests are skipped. 13:28:18 [INFO] 13:28:18 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ bcx-fdd --- 13:28:18 [INFO] Building jar: /data/jenkins/workspace/bcx-fdd/target/bcx-fdd-1.0.0.jar 13:28:18 [INFO] 13:28:18 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ bcx-fdd --- 13:28:19 [INFO] Replacing main artifact with repackaged archive 13:28:19 [INFO] ------------------------------------------------------------------------ 13:28:19 [INFO] BUILD SUCCESS 13:28:19 [INFO] ------------------------------------------------------------------------ 13:28:19 [INFO] Total time: 8.320 s 13:28:19 [INFO] Finished at: 2024-09-05T13:28:19+08:00 13:28:19 [INFO] ------------------------------------------------------------------------ 13:28:19 [WARNING] The requested profile "out-test" could not be activated because it does not exist. 13:28:19 + scp /data/jenkins/workspace/bcx-fdd/target/bcx-fdd-1.0.0.jar 172.20.0.160:/data/workspace/test-qy-bcx-fdd/ 13:28:20 [SSH] script: 13:28:20 ="" 13:28:20 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:/root/bin" 13:28:20 JAVA_HOME="/usr/local/jdk1.8" 13:28:20 JAVA_CLASS="/usr/local/jdk1.8/lib" 13:28:20 HOME="/root" 13:28:20 13:28:20 #JAVA 13:28:20 export JAVA_HOME=/usr/local/java 13:28:20 export JAVA_CLASS=$JAVA_HOME/lib 13:28:20 export PATH=$JAVA_HOME/bin:$PATH 13:28:20 13:28:20 # 杀死进程 13:28:20 pid=$(ps -ef|grep bcx-fdd-1.0.0.jar |grep -v grep|awk '{print $2}') 13:28:20 if [ $pid ];then 13:28:20 kill -9 $pid 13:28:20 fi 13:28:20 13:28:20 sleep 5 13:28:20 # 启动进程 13:28:20 cd /data/workspace/test-qy-bcx-fdd 13:28:20 nohup java -Xms1024m -Xmx1024m -jar bcx-fdd-1.0.0.jar --spring.profiles.active=test &> /dev/null & 13:28:20 13:28:20 13:28:20 [SSH] executing... 13:28:20 bash: =: 未找到命令 13:28:26 13:28:26 [SSH] completed 13:28:26 [SSH] exit-status: 0 13:28:26 13:28:26 Finished: SUCCESS