Started by user admin Running as SYSTEM Building in workspace /data/jenkins/workspace/push-server The recommended git tool is: NONE using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/push-server/.git # timeout=10 Fetching changes from the remote Git repository > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/yehuo/push-server.git # timeout=10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/yehuo/push-server.git > /usr/local/git/bin/git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials gitlab凭据 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/yehuo/push-server.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/local/git/bin/git rev-parse refs/remotes/origin/main^{commit} # timeout=10 Checking out Revision 0fead4c9c29371fd7e57dba0425ae2abed05a682 (refs/remotes/origin/main) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f 0fead4c9c29371fd7e57dba0425ae2abed05a682 # timeout=10 Commit message: "初始化" > /usr/local/git/bin/git rev-list --no-walk 0fead4c9c29371fd7e57dba0425ae2abed05a682 # timeout=10 [push-server] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins8986643493868223584.sh + cd /data/jenkins/workspace/push-server + mvn clean package [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for cn.wildfirechat:push:jar:0.1.2 [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 [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 [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 [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 134, column 25 [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 143, column 25 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------< cn.wildfirechat:push >------------------------ [INFO] Building push 0.1.2 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ push --- [INFO] Deleting /data/jenkins/workspace/push-server/target [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ push --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources to BOOT-INF/lib/ [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ push --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 27 source files to /data/jenkins/workspace/push-server/target/classes [INFO] /data/jenkins/workspace/push-server/src/main/java/cn/wildfirechat/push/android/hms/HMSPush.java: /data/jenkins/workspace/push-server/src/main/java/cn/wildfirechat/push/android/hms/HMSPush.java uses or overrides a deprecated API. [INFO] /data/jenkins/workspace/push-server/src/main/java/cn/wildfirechat/push/android/hms/HMSPush.java: Recompile with -Xlint:deprecation for details. [INFO] /data/jenkins/workspace/push-server/src/main/java/cn/wildfirechat/push/ios/ApnsServer.java: /data/jenkins/workspace/push-server/src/main/java/cn/wildfirechat/push/ios/ApnsServer.java uses unchecked or unsafe operations. [INFO] /data/jenkins/workspace/push-server/src/main/java/cn/wildfirechat/push/ios/ApnsServer.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ push --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /data/jenkins/workspace/push-server/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ push --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ push --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ push --- [INFO] Building jar: /data/jenkins/workspace/push-server/target/push-0.1.2.jar [INFO] [INFO] --- spring-boot-maven-plugin:2.0.6.RELEASE:repackage (default) @ push --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.559 s [INFO] Finished at: 2023-12-22T18:12:22+08:00 [INFO] ------------------------------------------------------------------------ + scp /data/jenkins/workspace/push-server/target/push-0.1.2.jar 172.20.0.54:/opt/push_server Host key verification failed. lost connection Build step 'Execute shell' marked build as failure Finished: FAILURE