21:57:08 Started by user unknown or anonymous 21:57:08 Running as SYSTEM 21:57:08 Building in workspace /data/jenkins/workspace/bcx-rtypgcwihbxy 21:57:08 The recommended git tool is: NONE 21:57:08 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 21:57:08 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/bcx-rtypgcwihbxy/.git # timeout=10 21:57:08 Fetching changes from the remote Git repository 21:57:08 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_activity/rtypgcwihbxy.git # timeout=10 21:57:08 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_activity/rtypgcwihbxy.git 21:57:08 > /usr/local/git/bin/git --version # timeout=10 21:57:08 > git --version # 'git version 2.43.0' 21:57:08 using GIT_ASKPASS to set credentials gitlab凭据 21:57:08 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_activity/rtypgcwihbxy.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:57:09 > /usr/local/git/bin/git rev-parse 05f2a9b^{commit} # timeout=10 21:57:09 Checking out Revision 05f2a9bb41612bea7d2cb2e35a98fc6666488abe (detached) 21:57:09 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 21:57:09 > /usr/local/git/bin/git checkout -f 05f2a9bb41612bea7d2cb2e35a98fc6666488abe # timeout=10 21:57:09 Commit message: "增加插件包" 21:57:09 > /usr/local/git/bin/git rev-list --no-walk 05f2a9bb41612bea7d2cb2e35a98fc6666488abe # timeout=10 21:57:09 [bcx-rtypgcwihbxy] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins16617634382713890545.sh 21:57:09 + export JAVA_HOME=/usr/local/jdk-17.0.6 21:57:09 + JAVA_HOME=/usr/local/jdk-17.0.6 21:57:09 + export JAVA_CLASS=/usr/local/jdk-17.0.6/lib 21:57:09 + JAVA_CLASS=/usr/local/jdk-17.0.6/lib 21:57:09 + export PATH=/usr/local/jdk-17.0.6/bin:/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 21:57:09 + PATH=/usr/local/jdk-17.0.6/bin:/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 21:57:09 + cd /data/jenkins/workspace/bcx-rtypgcwihbxy 21:57:09 + mvn clean package -DskipTests 21:57:09 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED 21:57:10 [INFO] Scanning for projects... 21:57:10 [WARNING] 21:57:10 [WARNING] Some problems were encountered while building the effective model for com.wlos.app:qxVIGwYV:jar:0.0.1-SNAPSHOT 21:57:10 [WARNING] 'dependencies.dependency.systemPath' for com.wlsk.plugin.qiniu:plugin-qiniu-biz:jar should not point at files within the project directory, ${basedir}/lib/plugin-qiniu-biz-0.0.1.RELEASE.jar will be unresolvable by dependent projects @ line 368, column 25 21:57:10 [WARNING] 21:57:10 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. 21:57:10 [WARNING] 21:57:10 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. 21:57:10 [WARNING] 21:57:10 [INFO] 21:57:10 [INFO] -----------------------< com.wlos.app:qxVIGwYV >------------------------ 21:57:10 [INFO] Building qxVIGwYV 0.0.1-SNAPSHOT 21:57:10 [INFO] --------------------------------[ jar ]--------------------------------- 21:57:11 [INFO] 21:57:11 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ qxVIGwYV --- 21:57:11 [INFO] Deleting /data/jenkins/workspace/bcx-rtypgcwihbxy/target 21:57:11 [INFO] 21:57:11 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ qxVIGwYV --- 21:57:11 [INFO] Using 'UTF-8' encoding to copy filtered resources. 21:57:11 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 21:57:11 [INFO] Copying 1 resource 21:57:11 [INFO] Copying 21 resources 21:57:11 [INFO] 21:57:11 [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ qxVIGwYV --- 21:57:11 [INFO] Changes detected - recompiling the module! 21:57:11 [INFO] Compiling 729 source files to /data/jenkins/workspace/bcx-rtypgcwihbxy/target/classes 21:57:24 [INFO] 21:57:24 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ qxVIGwYV --- 21:57:24 [INFO] Using 'UTF-8' encoding to copy filtered resources. 21:57:24 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 21:57:24 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/bcx-rtypgcwihbxy/src/test/resources 21:57:24 [INFO] 21:57:24 [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ qxVIGwYV --- 21:57:24 [INFO] No sources to compile 21:57:24 [INFO] 21:57:24 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ qxVIGwYV --- 21:57:25 [INFO] Tests are skipped. 21:57:25 [INFO] 21:57:25 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ qxVIGwYV --- 21:57:25 [INFO] Building jar: /data/jenkins/workspace/bcx-rtypgcwihbxy/target/start.jar 21:57:25 [INFO] 21:57:25 [INFO] --- spring-boot-maven-plugin:2.7.0:repackage (repackage) @ qxVIGwYV --- 21:57:26 [INFO] Replacing main artifact with repackaged archive 21:57:26 [INFO] 21:57:26 [INFO] --- spring-boot-maven-plugin:2.7.0:repackage (default) @ qxVIGwYV --- 21:57:26 [INFO] Replacing main artifact with repackaged archive 21:57:26 [INFO] ------------------------------------------------------------------------ 21:57:26 [INFO] BUILD SUCCESS 21:57:26 [INFO] ------------------------------------------------------------------------ 21:57:26 [INFO] Total time: 16.064 s 21:57:26 [INFO] Finished at: 2024-09-03T21:57:26+08:00 21:57:26 [INFO] ------------------------------------------------------------------------ 21:57:26 + scp /data/jenkins/workspace/bcx-rtypgcwihbxy/target/start.jar 172.20.0.248:/data/workspace/bcx-rtypgcwihbxy/ 21:57:27 [SSH] script: 21:57:27 ="" 21:57:27 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" 21:57:27 JAVA_HOME="/usr/local/jdk1.8" 21:57:27 JAVA_CLASS="/usr/local/jdk1.8/lib" 21:57:27 HOME="/root" 21:57:27 21:57:27 #JAVA 21:57:27 export JAVA_HOME=/usr/local/jdk-17.0.6 21:57:27 export JAVA_CLASS=$JAVA_HOME/lib 21:57:27 export PATH=$JAVA_HOME/bin:$PATH 21:57:27 21:57:27 # 杀死进程 21:57:27 pid=$(ps -ef|grep start.jar |grep -v grep|awk '{print $2}') 21:57:27 if [ $pid ];then 21:57:27 kill -9 $pid 21:57:27 fi 21:57:27 21:57:27 sleep 5 21:57:27 # 启动进程 21:57:27 cd /data/workspace/bcx-rtypgcwihbxy/ 21:57:27 nohup java -Xms1024m -Xmx1024m -jar start.jar > start.log 2>&1 & 21:57:27 21:57:27 [SSH] executing... 21:57:27 bash: =: command not found 21:57:33 21:57:33 [SSH] completed 21:57:33 [SSH] exit-status: 0 21:57:33 21:57:33 Finished: SUCCESS