Skip to content

Console Output

13:38:52 Started by user unknown or anonymous
13:38:52 Running as SYSTEM
13:38:52 Building in workspace /data/jenkins/workspace/test-v5in-ferry
13:38:52 The recommended git tool is: NONE
13:38:52 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
13:38:52  > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/test-v5in-ferry/.git # timeout=10
13:38:52 Fetching changes from the remote Git repository
13:38:52  > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git # timeout=10
13:38:52 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git
13:38:52  > /usr/local/git/bin/git --version # timeout=10
13:38:52  > git --version # 'git version 2.43.0'
13:38:52 using GIT_ASKPASS to set credentials gitlab凭据
13:38:52  > /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
13:38:53  > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10
13:38:53 Checking out Revision 3ca05edee56e334254a7c64ae1da8e5e86ae1dbf (refs/remotes/origin/test)
13:38:53  > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
13:38:53  > /usr/local/git/bin/git checkout -f 3ca05edee56e334254a7c64ae1da8e5e86ae1dbf # timeout=10
13:38:53 Commit message: "针对治综接口限制修改: 1、限制1秒只能调用10次接口 2、限制特殊字符文件不让传"
13:38:53  > /usr/local/git/bin/git rev-list --no-walk a7440f92a47a4b80e74ea2bc0ccffc3730382292 # timeout=10
13:38:53 [test-v5in-ferry] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins15342208063940524658.sh
13:38:53 + cd /data/jenkins/workspace/test-v5in-ferry
13:38:53 + mvn clean package -DskipTests -Pin-test
13:38:54 [INFO] Scanning for projects...
13:38:54 [INFO] 
13:38:54 [INFO] -------------------------< com.bcxin:bj-ferry >-------------------------
13:38:54 [INFO] Building bj-ferry 1.0.0
13:38:54 [INFO] --------------------------------[ jar ]---------------------------------
13:38:55 [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:38:55 [INFO] 
13:38:55 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ bj-ferry ---
13:38:55 [INFO] Deleting /data/jenkins/workspace/test-v5in-ferry/target
13:38:55 [INFO] 
13:38:55 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ bj-ferry ---
13:38:56 [INFO] Using 'UTF-8' encoding to copy filtered resources.
13:38:56 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
13:38:56 [INFO] Copying 6 resources
13:38:56 [INFO] Copying 9 resources
13:38:56 [INFO] 
13:38:56 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ bj-ferry ---
13:38:56 [INFO] Changes detected - recompiling the module!
13:38:56 [INFO] Compiling 96 source files to /data/jenkins/workspace/test-v5in-ferry/target/classes
13:38:59 [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
13:38:59 [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
13:38:59 [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
13:38:59 [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
13:38:59 [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
13:38:59 [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
13:38:59 [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
13:38:59 [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.
13:38:59 [INFO] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/common/utils/IdGeneratorSnowflake.java: Recompile with -Xlint:deprecation for details.
13:38:59 [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.
13:38:59 [INFO] /data/jenkins/workspace/test-v5in-ferry/src/main/java/com/bcxin/ferry/dtos/response/result/RespResult.java: Recompile with -Xlint:unchecked for details.
13:38:59 [INFO] 
13:38:59 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ bj-ferry ---
13:38:59 [INFO] Using 'UTF-8' encoding to copy filtered resources.
13:38:59 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
13:38:59 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/test-v5in-ferry/src/test/resources
13:38:59 [INFO] 
13:38:59 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ bj-ferry ---
13:38:59 [INFO] No sources to compile
13:38:59 [INFO] 
13:38:59 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ bj-ferry ---
13:38:59 [INFO] Tests are skipped.
13:38:59 [INFO] 
13:38:59 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ bj-ferry ---
13:39:00 [INFO] Building jar: /data/jenkins/workspace/test-v5in-ferry/target/bj-ferry-1.0.0.jar
13:39:00 [INFO] 
13:39:00 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ bj-ferry ---
13:39:02 [INFO] Replacing main artifact with repackaged archive
13:39:02 [INFO] ------------------------------------------------------------------------
13:39:02 [INFO] BUILD SUCCESS
13:39:02 [INFO] ------------------------------------------------------------------------
13:39:02 [INFO] Total time:  7.524 s
13:39:02 [INFO] Finished at: 2024-09-18T13:39:02+08:00
13:39:02 [INFO] ------------------------------------------------------------------------
13:39:02 [WARNING] The requested profile "in-test" could not be activated because it does not exist.
13:39:02 + scp /data/jenkins/workspace/test-v5in-ferry/target/bj-ferry-1.0.0.jar 172.20.0.248:/data/workspace/ferry
13:39:02 [SSH] script:
13:39:02 =""
13:39:02 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:39:02 JAVA_HOME="/usr/local/jdk1.8"
13:39:02 JAVA_CLASS="/usr/local/jdk1.8/lib"
13:39:02 HOME="/root"
13:39:02 
13:39:02 #JAVA
13:39:02 export JAVA_HOME=/usr/local/java
13:39:02 export JAVA_CLASS=$JAVA_HOME/lib
13:39:02 export PATH=$JAVA_HOME/bin:$PATH
13:39:02 
13:39:02 # 杀死进程
13:39:02 pid=$(ps -ef|grep bj-ferry-1.0.0.jar |grep -v grep|awk '{print $2}')
13:39:02 if [ $pid  ];then
13:39:02 	kill -9 $pid
13:39:02 fi
13:39:02 
13:39:02 sleep 5
13:39:02 
13:39:02 # 启动进程
13:39:02 cd /data/workspace/ferry
13:39:02 nohup java -Xms1024m -Xmx1024m -jar bj-ferry-1.0.0.jar --spring.profiles.active=in-test &> /dev/null   &
13:39:02 
13:39:02 
13:39:02 [SSH] executing...
13:39:03 bash: =: command not found
13:39:09 
13:39:09 [SSH] completed
13:39:09 [SSH] exit-status: 0
13:39:09 
13:39:09 Finished: SUCCESS