10:59:19 Started by user unknown or anonymous
10:59:19 Running as SYSTEM
10:59:19 Building in workspace /data/jenkins/workspace/test-v5in-ferry
10:59:19 The recommended git tool is: NONE
10:59:19 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
10:59:19 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/test-v5in-ferry/.git # timeout=10
10:59:19 Fetching changes from the remote Git repository
10:59:19 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git # timeout=10
10:59:19 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git
10:59:19 > /usr/local/git/bin/git --version # timeout=10
10:59:19 > git --version # 'git version 2.43.0'
10:59:19 using GIT_ASKPASS to set credentials gitlab凭据
10:59:19 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git +refs/heads/*:refs/remotes/origin/* # timeout=10
10:59:20 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10
10:59:20 Checking out Revision 7e9da707c5493886a94c722dd711d019ac62edb9 (refs/remotes/origin/test)
10:59:20 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
10:59:20 > /usr/local/git/bin/git checkout -f 7e9da707c5493886a94c722dd711d019ac62edb9 # timeout=10
10:59:20 Commit message: "部署政务外网改造"
10:59:20 > /usr/local/git/bin/git rev-list --no-walk d0f50909d8a2188c407de38c0a29b7034e1c5b2b # timeout=10
10:59:20 [test-v5in-ferry] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins6896840310534385234.sh
10:59:20 + cd /data/jenkins/workspace/test-v5in-ferry
10:59:20 + mvn clean package -DskipTests -Pin-test
10:59:21 [INFO] Scanning for projects...
10:59:21 [INFO]
10:59:21 [INFO] -------------------------< com.bcxin:bj-ferry >-------------------------
10:59:21 [INFO] Building bj-ferry 1.0.0
10:59:21 [INFO] --------------------------------[ jar ]---------------------------------
10:59:22 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/com/huaweicloud/esdk-obs-java-bundle/3.23.9/esdk-obs-java-bundle-3.23.9.pom
10:59:23 Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/com/huaweicloud/esdk-obs-java-bundle/3.23.9/esdk-obs-java-bundle-3.23.9.pom (0 B at 0 B/s)
10:59:23 [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been relocated to com.mysql:mysql-connector-j:jar:8.0.31
10:59:23 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/com/huaweicloud/esdk-obs-java-bundle/3.23.9/esdk-obs-java-bundle-3.23.9.jar
10:59:23 Progress (1): 0/5.9 MB
Progress (1): 0.1/5.9 MB
Progress (1): 0.1/5.9 MB
Progress (1): 0.1/5.9 MB
Progress (1): 0.1/5.9 MB
Progress (1): 0.2/5.9 MB
Progress (1): 0.2/5.9 MB
Progress (1): 0.2/5.9 MB
Progress (1): 0.3/5.9 MB
Progress (1): 0.3/5.9 MB
Progress (1): 0.3/5.9 MB
Progress (1): 0.3/5.9 MB
Progress (1): 0.4/5.9 MB
Progress (1): 0.4/5.9 MB
Progress (1): 0.4/5.9 MB
Progress (1): 0.5/5.9 MB
Progress (1): 0.5/5.9 MB
Progress (1): 0.5/5.9 MB
Progress (1): 0.5/5.9 MB
Progress (1): 0.6/5.9 MB
Progress (1): 0.6/5.9 MB
Progress (1): 0.6/5.9 MB
Progress (1): 0.7/5.9 MB
Progress (1): 0.7/5.9 MB
Progress (1): 0.7/5.9 MB
Progress (1): 0.7/5.9 MB
Progress (1): 0.8/5.9 MB
Progress (1): 0.8/5.9 MB
Progress (1): 0.8/5.9 MB
Progress (1): 0.9/5.9 MB
Progress (1): 0.9/5.9 MB
Progress (1): 0.9/5.9 MB
Progress (1): 0.9/5.9 MB
Progress (1): 1.0/5.9 MB
Progress (1): 1.0/5.9 MB
Progress (1): 1.0/5.9 MB
Progress (1): 1.1/5.9 MB
Progress (1): 1.1/5.9 MB
Progress (1): 1.1/5.9 MB
Progress (1): 1.2/5.9 MB
Progress (1): 1.2/5.9 MB
Progress (1): 1.2/5.9 MB
Progress (1): 1.2/5.9 MB
Progress (1): 1.3/5.9 MB
Progress (1): 1.3/5.9 MB
Progress (1): 1.3/5.9 MB
Progress (1): 1.4/5.9 MB
Progress (1): 1.4/5.9 MB
Progress (1): 1.4/5.9 MB
Progress (1): 1.4/5.9 MB
Progress (1): 1.5/5.9 MB
Progress (1): 1.5/5.9 MB
Progress (1): 1.5/5.9 MB
Progress (1): 1.6/5.9 MB
Progress (1): 1.6/5.9 MB
Progress (1): 1.6/5.9 MB
Progress (1): 1.6/5.9 MB
Progress (1): 1.7/5.9 MB
Progress (1): 1.7/5.9 MB
Progress (1): 1.7/5.9 MB
Progress (1): 1.8/5.9 MB
Progress (1): 1.8/5.9 MB
Progress (1): 1.8/5.9 MB
Progress (1): 1.8/5.9 MB
Progress (1): 1.9/5.9 MB
Progress (1): 1.9/5.9 MB
Progress (1): 1.9/5.9 MB
Progress (1): 2.0/5.9 MB
Progress (1): 2.0/5.9 MB
Progress (1): 2.0/5.9 MB
Progress (1): 2.0/5.9 MB
Progress (1): 2.1/5.9 MB
Progress (1): 2.1/5.9 MB
Progress (1): 2.1/5.9 MB
Progress (1): 2.2/5.9 MB
Progress (1): 2.2/5.9 MB
Progress (1): 2.2/5.9 MB
Progress (1): 2.2/5.9 MB
Progress (1): 2.3/5.9 MB
Progress (1): 2.3/5.9 MB
Progress (1): 2.3/5.9 MB
Progress (1): 2.4/5.9 MB
Progress (1): 2.4/5.9 MB
Progress (1): 2.4/5.9 MB
Progress (1): 2.4/5.9 MB
Progress (1): 2.5/5.9 MB
Progress (1): 2.5/5.9 MB
Progress (1): 2.5/5.9 MB
Progress (1): 2.6/5.9 MB
Progress (1): 2.6/5.9 MB
Progress (1): 2.6/5.9 MB
Progress (1): 2.6/5.9 MB
Progress (1): 2.7/5.9 MB
Progress (1): 2.7/5.9 MB
Progress (1): 2.7/5.9 MB
Progress (1): 2.8/5.9 MB
Progress (1): 2.8/5.9 MB
Progress (1): 2.8/5.9 MB
Progress (1): 2.8/5.9 MB
Progress (1): 2.9/5.9 MB
Progress (1): 2.9/5.9 MB
Progress (1): 2.9/5.9 MB
Progress (1): 3.0/5.9 MB
Progress (1): 3.0/5.9 MB
Progress (1): 3.0/5.9 MB
Progress (1): 3.0/5.9 MB
Progress (1): 3.1/5.9 MB
Progress (1): 3.1/5.9 MB
Progress (1): 3.1/5.9 MB
Progress (1): 3.2/5.9 MB
Progress (1): 3.2/5.9 MB
Progress (1): 3.2/5.9 MB
Progress (1): 3.2/5.9 MB
Progress (1): 3.3/5.9 MB
Progress (1): 3.3/5.9 MB
Progress (1): 3.3/5.9 MB
Progress (1): 3.4/5.9 MB
Progress (1): 3.4/5.9 MB
Progress (1): 3.4/5.9 MB
Progress (1): 3.4/5.9 MB
Progress (1): 3.5/5.9 MB
Progress (1): 3.5/5.9 MB
Progress (1): 3.5/5.9 MB
Progress (1): 3.6/5.9 MB
Progress (1): 3.6/5.9 MB
Progress (1): 3.6/5.9 MB
Progress (1): 3.6/5.9 MB
Progress (1): 3.7/5.9 MB
Progress (1): 3.7/5.9 MB
Progress (1): 3.7/5.9 MB
Progress (1): 3.8/5.9 MB
Progress (1): 3.8/5.9 MB
Progress (1): 3.8/5.9 MB
Progress (1): 3.8/5.9 MB
Progress (1): 3.9/5.9 MB
Progress (1): 3.9/5.9 MB
Progress (1): 3.9/5.9 MB
Progress (1): 4.0/5.9 MB
Progress (1): 4.0/5.9 MB
Progress (1): 4.0/5.9 MB
Progress (1): 4.0/5.9 MB
Progress (1): 4.1/5.9 MB
Progress (1): 4.1/5.9 MB
Progress (1): 4.1/5.9 MB
Progress (1): 4.2/5.9 MB
Progress (1): 4.2/5.9 MB
Progress (1): 4.2/5.9 MB
Progress (1): 4.2/5.9 MB
Progress (1): 4.3/5.9 MB
Progress (1): 4.3/5.9 MB
Progress (1): 4.3/5.9 MB
Progress (1): 4.4/5.9 MB
Progress (1): 4.4/5.9 MB
Progress (1): 4.4/5.9 MB
Progress (1): 4.4/5.9 MB
Progress (1): 4.5/5.9 MB
Progress (1): 4.5/5.9 MB
Progress (1): 4.5/5.9 MB
Progress (1): 4.6/5.9 MB
Progress (1): 4.6/5.9 MB
Progress (1): 4.6/5.9 MB
Progress (1): 4.6/5.9 MB
Progress (1): 4.7/5.9 MB
Progress (1): 4.7/5.9 MB
Progress (1): 4.7/5.9 MB
Progress (1): 4.8/5.9 MB
Progress (1): 4.8/5.9 MB
Progress (1): 4.8/5.9 MB
Progress (1): 4.8/5.9 MB
Progress (1): 4.9/5.9 MB
Progress (1): 4.9/5.9 MB
Progress (1): 4.9/5.9 MB
Progress (1): 5.0/5.9 MB
Progress (1): 5.0/5.9 MB
Progress (1): 5.0/5.9 MB
Progress (1): 5.0/5.9 MB
Progress (1): 5.1/5.9 MB
Progress (1): 5.1/5.9 MB
Progress (1): 5.1/5.9 MB
Progress (1): 5.2/5.9 MB
Progress (1): 5.2/5.9 MB
Progress (1): 5.2/5.9 MB
Progress (1): 5.3/5.9 MB
Progress (1): 5.3/5.9 MB
Progress (1): 5.3/5.9 MB
Progress (1): 5.3/5.9 MB
Progress (1): 5.4/5.9 MB
Progress (1): 5.4/5.9 MB
Progress (1): 5.4/5.9 MB
Progress (1): 5.5/5.9 MB
Progress (1): 5.5/5.9 MB
Progress (1): 5.5/5.9 MB
Progress (1): 5.5/5.9 MB
Progress (1): 5.6/5.9 MB
Progress (1): 5.6/5.9 MB
Progress (1): 5.6/5.9 MB
Progress (1): 5.7/5.9 MB
Progress (1): 5.7/5.9 MB
Progress (1): 5.7/5.9 MB
Progress (1): 5.7/5.9 MB
Progress (1): 5.8/5.9 MB
Progress (1): 5.8/5.9 MB
Progress (1): 5.8/5.9 MB
Progress (1): 5.9/5.9 MB
Progress (1): 5.9/5.9 MB
Progress (1): 5.9 MB
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/com/huaweicloud/esdk-obs-java-bundle/3.23.9/esdk-obs-java-bundle-3.23.9.jar (5.9 MB at 1.8 MB/s)
10:59:26 [INFO]
10:59:26 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ bj-ferry ---
10:59:26 [INFO] Deleting /data/jenkins/workspace/test-v5in-ferry/target
10:59:26 [INFO]
10:59:26 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ bj-ferry ---
10:59:26 [INFO] Using 'UTF-8' encoding to copy filtered resources.
10:59:26 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
10:59:26 [INFO] Copying 6 resources
10:59:26 [INFO] Copying 9 resources
10:59:26 [INFO]
10:59:26 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ bj-ferry ---
10:59:27 [INFO] Changes detected - recompiling the module!
10:59:27 [INFO] Compiling 96 source files to /data/jenkins/workspace/test-v5in-ferry/target/classes
10:59:29 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[4,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
10:59:29 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[4,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
10:59:29 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[4,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
10:59:29 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[4,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
10:59:29 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[4,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
10:59:29 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[32,13] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
10:59:29 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[32,47] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
10:59:29 [INFO] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/IdGeneratorSnowflake.java: /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/IdGeneratorSnowflake.java uses or overrides a deprecated API.
10:59:29 [INFO] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/IdGeneratorSnowflake.java: Recompile with -Xlint:deprecation for details.
10:59:29 [INFO] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/dtos/response/result/RespResult.java: Some input files use unchecked or unsafe operations.
10:59:29 [INFO] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/dtos/response/result/RespResult.java: Recompile with -Xlint:unchecked for details.
10:59:29 [INFO]
10:59:29 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ bj-ferry ---
10:59:29 [INFO] Using 'UTF-8' encoding to copy filtered resources.
10:59:29 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
10:59:29 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/test-v5in-ferry/src/test/resources
10:59:29 [INFO]
10:59:29 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ bj-ferry ---
10:59:29 [INFO] No sources to compile
10:59:29 [INFO]
10:59:29 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ bj-ferry ---
10:59:30 [INFO] Tests are skipped.
10:59:30 [INFO]
10:59:30 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ bj-ferry ---
10:59:30 [INFO] Building jar: /data/jenkins/workspace/test-v5in-ferry/target/bj-ferry-1.0.0.jar
10:59:30 [INFO]
10:59:30 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ bj-ferry ---
10:59:30 [INFO] Replacing main artifact with repackaged archive
10:59:30 [INFO] ------------------------------------------------------------------------
10:59:30 [INFO] BUILD SUCCESS
10:59:30 [INFO] ------------------------------------------------------------------------
10:59:30 [INFO] Total time: 9.316 s
10:59:30 [INFO] Finished at: 2024-06-12T10:59:30+08:00
10:59:30 [INFO] ------------------------------------------------------------------------
10:59:30 [WARNING] The requested profile "in-test" could not be activated because it does not exist.
10:59:30 + scp /data/jenkins/workspace/test-v5in-ferry/target/bj-ferry-1.0.0.jar 172.20.0.248:/data/workspace/ferry
10:59:32 [SSH] script:
10:59:32 PATH="/usr/local/maven:/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/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:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin"
10:59:32 JAVA_HOME="/usr/local/jdk1.8"
10:59:32 JAVA_CLASS="/usr/local/jdk1.8/lib"
10:59:32 HOME="/root"
10:59:32
10:59:32 #JAVA
10:59:32 export JAVA_HOME=/usr/local/java
10:59:32 export JAVA_CLASS=$JAVA_HOME/lib
10:59:32 export PATH=$JAVA_HOME/bin:$PATH
10:59:32
10:59:32 # 杀死进程
10:59:32 pid=$(ps -ef|grep bj-ferry-1.0.0.jar |grep -v grep|awk '{print $2}')
10:59:32 if [ $pid ];then
10:59:32 kill -9 $pid
10:59:32 fi
10:59:32
10:59:32 sleep 5
10:59:32
10:59:32 # 启动进程
10:59:32 cd /data/workspace/ferry
10:59:32 nohup java -Xms1024m -Xmx1024m -jar bj-ferry-1.0.0.jar --spring.profiles.active=in-test &> /dev/null &
10:59:32
10:59:32
10:59:32 [SSH] executing...
10:59:39
10:59:39 [SSH] completed
10:59:39 [SSH] exit-status: 0
10:59:39
10:59:39 Finished: SUCCESS