Skip to content

Console Output

15:23:45 Started by user unknown or anonymous
15:23:45 Running as SYSTEM
15:23:45 Building in workspace /data/jenkins/workspace/test-v5in-ferry
15:23:45 The recommended git tool is: NONE
15:23:45 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
15:23:45  > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/test-v5in-ferry/.git # timeout=10
15:23:45 Fetching changes from the remote Git repository
15:23:45  > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git # timeout=10
15:23:45 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git
15:23:45  > /usr/local/git/bin/git --version # timeout=10
15:23:45  > git --version # 'git version 2.43.0'
15:23:45 using GIT_ASKPASS to set credentials gitlab凭据
15:23:45  > /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
15:23:45  > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10
15:23:45 Checking out Revision 654d860a9d7f80b494b80304dce81af4eb241b0a (refs/remotes/origin/test)
15:23:45  > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
15:23:45  > /usr/local/git/bin/git checkout -f 654d860a9d7f80b494b80304dce81af4eb241b0a # timeout=10
15:23:45 Commit message: "关闭druid监控页面"
15:23:45  > /usr/local/git/bin/git rev-list --no-walk 654d860a9d7f80b494b80304dce81af4eb241b0a # timeout=10
15:23:45 [test-v5in-ferry] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins5280389679464433424.sh
15:23:45 + cd /data/jenkins/workspace/test-v5in-ferry
15:23:45 + mvn clean package -DskipTests -Pin-test
15:23:46 [INFO] Scanning for projects...
15:23:47 [INFO] 
15:23:47 [INFO] -------------------------< com.bcxin:bj-ferry >-------------------------
15:23:47 [INFO] Building bj-ferry 1.0.0
15:23:47 [INFO] --------------------------------[ jar ]---------------------------------
15:23:47 [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been relocated to com.mysql:mysql-connector-j:jar:8.0.31
15:23:47 [INFO] 
15:23:47 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ bj-ferry ---
15:23:47 [INFO] Deleting /data/jenkins/workspace/test-v5in-ferry/target
15:23:48 [INFO] 
15:23:48 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ bj-ferry ---
15:23:48 [INFO] Using 'UTF-8' encoding to copy filtered resources.
15:23:48 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
15:23:48 [INFO] Copying 6 resources
15:23:48 [INFO] Copying 9 resources
15:23:48 [INFO] 
15:23:48 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ bj-ferry ---
15:23:48 [INFO] Changes detected - recompiling the module!
15:23:48 [INFO] Compiling 102 source files to /data/jenkins/workspace/test-v5in-ferry/target/classes
15:23:51 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
15:23:51 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
15:23:51 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
15:23:51 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
15:23:51 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
15:23:51 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[48,13] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
15:23:51 [WARNING] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/Base64Util.java:[48,47] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
15:23:51 [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.
15:23:51 [INFO] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/dtos/response/result/RespResult.java: Recompile with -Xlint:unchecked for details.
15:23:51 [INFO] 
15:23:51 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ bj-ferry ---
15:23:51 [INFO] Using 'UTF-8' encoding to copy filtered resources.
15:23:51 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
15:23:51 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/test-v5in-ferry/src/test/resources
15:23:51 [INFO] 
15:23:51 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ bj-ferry ---
15:23:51 [INFO] No sources to compile
15:23:51 [INFO] 
15:23:51 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ bj-ferry ---
15:23:51 [INFO] Tests are skipped.
15:23:51 [INFO] 
15:23:51 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ bj-ferry ---
15:23:52 [INFO] Building jar: /data/jenkins/workspace/test-v5in-ferry/target/bj-ferry-1.0.0.jar
15:23:52 [INFO] 
15:23:52 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ bj-ferry ---
15:23:52 [INFO] Replacing main artifact with repackaged archive
15:23:52 [INFO] ------------------------------------------------------------------------
15:23:52 [INFO] BUILD SUCCESS
15:23:52 [INFO] ------------------------------------------------------------------------
15:23:52 [INFO] Total time:  5.856 s
15:23:52 [INFO] Finished at: 2025-10-20T15:23:52+08:00
15:23:52 [INFO] ------------------------------------------------------------------------
15:23:52 [WARNING] The requested profile "in-test" could not be activated because it does not exist.
15:23:52 + scp /data/jenkins/workspace/test-v5in-ferry/target/bj-ferry-1.0.0.jar 172.20.0.248:/data/workspace/ferry
15:23:53 [SSH] script:
15:23:53 =""
15:23:53 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"
15:23:53 JAVA_HOME="/usr/local/jdk1.8"
15:23:53 JAVA_CLASS="/usr/local/jdk1.8/lib"
15:23:53 HOME="/root"
15:23:53 
15:23:53 #JAVA
15:23:53 export JAVA_HOME=/usr/local/java
15:23:53 export JAVA_CLASS=$JAVA_HOME/lib
15:23:53 export PATH=$JAVA_HOME/bin:$PATH
15:23:53 
15:23:53 # 杀死进程
15:23:53 pid=$(ps -ef|grep bj-ferry-1.0.0.jar |grep -v grep|awk '{print $2}')
15:23:53 if [ $pid  ];then
15:23:53 	kill -9 $pid
15:23:53 fi
15:23:53 
15:23:53 sleep 5
15:23:53 
15:23:53 # 启动进程
15:23:53 cd /data/workspace/ferry
15:23:53 nohup java -Xms512m -Xmx512m -jar bj-ferry-1.0.0.jar --spring.profiles.active=in-test &> /dev/null   &
15:23:53 
15:23:53 
15:23:53 [SSH] executing...
15:23:53 bash: =: command not found
15:23:59 
15:23:59 [SSH] completed
15:23:59 [SSH] exit-status: 0
15:23:59 
15:23:59 Finished: SUCCESS