Skip to content

Console Output

16:44:39 Started by user unknown or anonymous
16:44:39 Running as SYSTEM
16:44:39 Building in workspace /data/jenkins/workspace/push-server
16:44:39 The recommended git tool is: NONE
16:44:39 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
16:44:39  > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/push-server/.git # timeout=10
16:44:39 Fetching changes from the remote Git repository
16:44:39  > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/yehuo/push-server.git # timeout=10
16:44:39 Fetching upstream changes from https://gitlab.arsbaibaodun.com/yehuo/push-server.git
16:44:39  > /usr/local/git/bin/git --version # timeout=10
16:44:39  > git --version # 'git version 2.43.0'
16:44:39 using GIT_ASKPASS to set credentials gitlab凭据
16:44:39  > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/yehuo/push-server.git +refs/heads/*:refs/remotes/origin/* # timeout=10
16:44:40  > /usr/local/git/bin/git rev-parse refs/remotes/origin/main^{commit} # timeout=10
16:44:40 Checking out Revision 9b99f9344573e63cb03c76030ad00cb22d41b494 (refs/remotes/origin/main)
16:44:40  > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
16:44:40  > /usr/local/git/bin/git checkout -f 9b99f9344573e63cb03c76030ad00cb22d41b494 # timeout=10
16:44:40 Commit message: "同步野火最新代码"
16:44:40  > /usr/local/git/bin/git rev-list --no-walk 9b99f9344573e63cb03c76030ad00cb22d41b494 # timeout=10
16:44:40 [push-server] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins9035450201575100426.sh
16:44:40 + cd /data/jenkins/workspace/push-server
16:44:40 + mvn clean package
16:44:41 [INFO] Scanning for projects...
16:44:41 [WARNING] 
16:44:41 [WARNING] Some problems were encountered while building the effective model for cn.wildfirechat:push:jar:0.1.2
16:44:41 [WARNING] 'dependencies.dependency.systemPath' for com.xiaomi.push:mipush-sdk-server:jar should not point at files within the project directory, ${project.basedir}/src/main/libs/MiPush_SDK_Server_2_2_19.jar will be unresolvable by dependent projects @ line 44, column 25
16:44:41 [WARNING] 'dependencies.dependency.systemPath' for com.oppo.push:opush-server:jar should not point at files within the project directory, ${project.basedir}/src/main/libs/opush-server-sdk-1.0.4.jar will be unresolvable by dependent projects @ line 74, column 25
16:44:41 [WARNING] 'dependencies.dependency.systemPath' for com.vivo.push.sdk:vPush-server-sdk:jar should not point at files within the project directory, ${project.basedir}/src/main/libs/vPush-server-sdk-1.0.jar will be unresolvable by dependent projects @ line 90, column 25
16:44:41 [WARNING] 'dependencies.dependency.systemPath' for org.apache.http:httpclient:jar should not point at files within the project directory, ${project.basedir}/src/main/libs/httpclient-4.5.jar will be unresolvable by dependent projects @ line 107, column 25
16:44:41 [WARNING] 'dependencies.dependency.systemPath' for org.apache.http:httpcore:jar should not point at files within the project directory, ${project.basedir}/src/main/libs/httpcore-4.4.1.jar will be unresolvable by dependent projects @ line 116, column 25
16:44:41 [WARNING] 
16:44:41 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
16:44:41 [WARNING] 
16:44:41 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
16:44:41 [WARNING] 
16:44:41 [INFO] 
16:44:41 [INFO] ------------------------< cn.wildfirechat:push >------------------------
16:44:41 [INFO] Building push 0.1.2
16:44:41 [INFO] --------------------------------[ jar ]---------------------------------
16:44:41 [INFO] 
16:44:41 [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ push ---
16:44:41 [INFO] Deleting /data/jenkins/workspace/push-server/target
16:44:41 [INFO] 
16:44:41 [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ push ---
16:44:41 [INFO] Using 'UTF-8' encoding to copy filtered resources.
16:44:41 [INFO] Copying 5 resources to BOOT-INF/lib/
16:44:41 [INFO] 
16:44:41 [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ push ---
16:44:41 [INFO] Changes detected - recompiling the module!
16:44:41 [INFO] Compiling 36 source files to /data/jenkins/workspace/push-server/target/classes
16:44:42 [INFO] /data/jenkins/workspace/push-server/src/main/java/cn/wildfirechat/push/hm/HMPushServiceImpl.java: Some input files use or override a deprecated API.
16:44:42 [INFO] /data/jenkins/workspace/push-server/src/main/java/cn/wildfirechat/push/hm/HMPushServiceImpl.java: Recompile with -Xlint:deprecation for details.
16:44:42 [INFO] /data/jenkins/workspace/push-server/src/main/java/cn/wildfirechat/push/hm/payload/AlertPayload.java: Some input files use unchecked or unsafe operations.
16:44:42 [INFO] /data/jenkins/workspace/push-server/src/main/java/cn/wildfirechat/push/hm/payload/AlertPayload.java: Recompile with -Xlint:unchecked for details.
16:44:42 [INFO] 
16:44:42 [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ push ---
16:44:42 [INFO] Using 'UTF-8' encoding to copy filtered resources.
16:44:42 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/push-server/src/test/resources
16:44:42 [INFO] 
16:44:42 [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ push ---
16:44:42 [INFO] No sources to compile
16:44:42 [INFO] 
16:44:42 [INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ push ---
16:44:43 [INFO] No tests to run.
16:44:43 [INFO] 
16:44:43 [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ push ---
16:44:43 [INFO] Building jar: /data/jenkins/workspace/push-server/target/push-0.1.2.jar
16:44:43 [INFO] 
16:44:43 [INFO] --- spring-boot-maven-plugin:2.0.6.RELEASE:repackage (default) @ push ---
16:44:43 [INFO] ------------------------------------------------------------------------
16:44:43 [INFO] BUILD SUCCESS
16:44:43 [INFO] ------------------------------------------------------------------------
16:44:43 [INFO] Total time:  2.641 s
16:44:43 [INFO] Finished at: 2025-07-21T16:44:43+08:00
16:44:43 [INFO] ------------------------------------------------------------------------
16:44:43 + scp -r /data/jenkins/workspace/push-server 172.20.0.42:/data/workspace/push_server/
16:44:46 [SSH] script:
16:44:46 =""
16:44:46 PATH="/usr/local/jdk1.8/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"
16:44:46 JAVA_HOME="/usr/local/jdk1.8"
16:44:46 CLASSPATH=""
16:44:46 HOME="/root"
16:44:46 
16:44:46 #java
16:44:46 export JAVA_HOME=/usr/local/java
16:44:46 export CLASSPATH=$JAVA_HOME/lib/
16:44:46 export PATH=$JAVA_HOME/bin:$PATH
16:44:46 
16:44:46 kill -9 $(ps -ef|grep -v grep|grep push-0.1.2.jar|awk '{print $2}')
16:44:46 sleep 5
16:44:46 cd /data/workspace/push_server
16:44:46 nohup java -jar push-0.1.2.jar > push.log 2>&1 &
16:44:46 
16:44:46 [SSH] executing...
16:44:46 bash: =: command not found
16:44:52 
16:44:52 [SSH] completed
16:44:52 [SSH] exit-status: 0
16:44:52 
16:44:52 Finished: SUCCESS