10:10:16 Started by user admin 10:10:16 Running as SYSTEM 10:10:16 Building in workspace /data/jenkins/workspace/personnel-oa 10:10:16 The recommended git tool is: NONE 10:10:16 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 10:10:16 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/personnel-oa/.git # timeout=10 10:10:16 Fetching changes from the remote Git repository 10:10:16 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/personnel-oa.git # timeout=10 10:10:16 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/personnel-oa.git 10:10:16 > /usr/local/git/bin/git --version # timeout=10 10:10:16 > git --version # 'git version 2.43.0' 10:10:16 using GIT_ASKPASS to set credentials gitlab凭据 10:10:16 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_basic/personnel-oa.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:17 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 10:10:17 Checking out Revision 617d1b96b23f46d806339bc34167b2db799472e4 (refs/remotes/origin/test) 10:10:17 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 10:10:17 > /usr/local/git/bin/git checkout -f 617d1b96b23f46d806339bc34167b2db799472e4 # timeout=10 10:10:17 Commit message: "前后端对接补漏" 10:10:17 First time build. Skipping changelog. 10:10:17 [personnel-oa] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins15786855926163080581.sh 10:10:17 + cd /data/jenkins/workspace/personnel-oa 10:10:17 + mvn clean package 10:10:18 [INFO] Scanning for projects... 10:10:18 [INFO] 10:10:18 [INFO] -----------------------< com.bcxin:personnel-oa >----------------------- 10:10:18 [INFO] Building personnel-oa 1.0.0 10:10:18 [INFO] --------------------------------[ jar ]--------------------------------- 10:10:19 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/apache/poi/poi-excelant/4.1.2/poi-excelant-4.1.2.pom 10:10:20 Progress (1): 2.7 kB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/apache/poi/poi-excelant/4.1.2/poi-excelant-4.1.2.pom (2.7 kB at 3.3 kB/s) 10:10:20 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/apache/poi/poi-scratchpad/4.1.2/poi-scratchpad-4.1.2.pom 10:10:20 Progress (1): 2.4 kB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/apache/poi/poi-scratchpad/4.1.2/poi-scratchpad-4.1.2.pom (2.4 kB at 8.7 kB/s) 10:10:20 [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been relocated to com.mysql:mysql-connector-j:jar:8.0.31 10:10:20 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/apache/poi/poi-excelant/4.1.2/poi-excelant-4.1.2.jar 10:10:20 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/apache/poi/poi-scratchpad/4.1.2/poi-scratchpad-4.1.2.jar 10:10:20 Progress (1): 3.6/31 kB Progress (1): 7.7/31 kB Progress (1): 12/31 kB Progress (1): 16/31 kB Progress (1): 20/31 kB Progress (1): 24/31 kB Progress (1): 28/31 kB Progress (1): 31 kB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/apache/poi/poi-excelant/4.1.2/poi-excelant-4.1.2.jar (31 kB at 259 kB/s) 10:10:20 Progress (1): 0/1.8 MB Progress (1): 0/1.8 MB Progress (1): 0/1.8 MB Progress (1): 0/1.8 MB Progress (1): 0/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.1/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.2/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.3/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.4/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.5/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.6/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.7/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.8/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 0.9/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.0/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.1/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.2/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.3/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.4/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.5/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.6/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.7/1.8 MB Progress (1): 1.8/1.8 MB Progress (1): 1.8/1.8 MB Progress (1): 1.8/1.8 MB Progress (1): 1.8/1.8 MB Progress (1): 1.8/1.8 MB Progress (1): 1.8/1.8 MB Progress (1): 1.8/1.8 MB Progress (1): 1.8/1.8 MB Progress (1): 1.8/1.8 MB Progress (1): 1.8/1.8 MB Progress (1): 1.8 MB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/apache/poi/poi-scratchpad/4.1.2/poi-scratchpad-4.1.2.jar (1.8 MB at 1.7 MB/s) 10:10:21 [INFO] 10:10:21 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ personnel-oa --- 10:10:21 [INFO] Deleting /data/jenkins/workspace/personnel-oa/target 10:10:21 [INFO] 10:10:21 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ personnel-oa --- 10:10:22 [INFO] Using 'UTF-8' encoding to copy filtered resources. 10:10:22 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 10:10:22 [INFO] Copying 3 resources 10:10:22 [INFO] Copying 73 resources 10:10:22 [INFO] 10:10:22 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ personnel-oa --- 10:10:22 [INFO] Changes detected - recompiling the module! 10:10:22 [INFO] Compiling 446 source files to /data/jenkins/workspace/personnel-oa/target/classes 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[13,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[14,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[13,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[14,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[13,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[14,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[13,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[14,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[13,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[14,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[306,9] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[306,37] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release 10:10:30 [WARNING] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/utils/file/BcxinFileUtils.java:[314,32] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release 10:10:30 [INFO] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/entity/enterprise/company/ComBaseInfo.java: Some input files use or override a deprecated API. 10:10:30 [INFO] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/entity/enterprise/company/ComBaseInfo.java: Recompile with -Xlint:deprecation for details. 10:10:30 [INFO] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/BaseController.java: Some input files use unchecked or unsafe operations. 10:10:30 [INFO] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/BaseController.java: Recompile with -Xlint:unchecked for details. 10:10:30 [INFO] 10:10:30 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ personnel-oa --- 10:10:30 [INFO] Using 'UTF-8' encoding to copy filtered resources. 10:10:30 [INFO] Using 'UTF-8' encoding to copy filtered properties files. 10:10:30 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/personnel-oa/src/test/resources 10:10:30 [INFO] 10:10:30 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ personnel-oa --- 10:10:30 [INFO] No sources to compile 10:10:30 [INFO] 10:10:30 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ personnel-oa --- 10:10:30 [INFO] No tests to run. 10:10:30 [INFO] 10:10:30 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ personnel-oa --- 10:10:30 [INFO] Building jar: /data/jenkins/workspace/personnel-oa/target/personnel-oa-1.0.0.jar 10:10:30 [INFO] 10:10:30 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ personnel-oa --- 10:10:31 [INFO] Replacing main artifact with repackaged archive 10:10:31 [INFO] ------------------------------------------------------------------------ 10:10:31 [INFO] BUILD SUCCESS 10:10:31 [INFO] ------------------------------------------------------------------------ 10:10:31 [INFO] Total time: 13.024 s 10:10:31 [INFO] Finished at: 2024-01-16T10:10:31+08:00 10:10:31 [INFO] ------------------------------------------------------------------------ 10:10:31 + scp /data/jenkins/workspace/personnel-oa/target/personnel-oa-1.0.0.jar 172.20.0.7:/data/workspace/personnel-oa 10:10:32 [SSH] script: 10:10:32 10:10:32 docker rm -f personnel-oa 10:10:32 cd /data/workspace/personnel-oa 10:10:32 docker build -t personnel-oa . 10:10:32 docker run -d --name personnel-oa -p 16001:16001 --memory=1g --restart=always personnel-oa 10:10:32 docker image prune -f 10:10:32 10:10:32 [SSH] executing... 10:10:33 #0 building with "default" instance using docker driver 10:10:33 10:10:33 #1 [internal] load build definition from Dockerfile 10:10:33 #1 transferring dockerfile: 317B done 10:10:33 #1 DONE 0.0s 10:10:33 10:10:33 #2 [internal] load .dockerignore 10:10:33 #2 transferring context: 51B done 10:10:33 #2 DONE 0.0s 10:10:33 10:10:33 #3 [internal] load metadata for docker.io/library/java:8-jdk-alpine 10:10:33 personnel-oa 10:10:48 #3 DONE 15.4s 10:10:48 10:10:48 #4 [1/6] FROM docker.io/library/java:8-jdk-alpine@sha256:d49bf8c44670834d3dade17f8b84d709e7db47f1887f671a0e098bafa9bae49f 10:10:48 #4 DONE 0.0s 10:10:48 10:10:48 #5 [internal] load build context 10:10:48 #5 transferring context: 32B 10:10:49 #5 transferring context: 90.10MB 0.6s done 10:10:49 #5 DONE 0.7s 10:10:49 10:10:49 #6 [3/6] RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 10:10:49 #6 CACHED 10:10:49 10:10:49 #7 [4/6] RUN echo "Asia/Shanghai" > /etc/timezone 10:10:49 #7 CACHED 10:10:49 10:10:49 #8 [2/6] RUN apk update && apk add tzdata 10:10:49 #8 CACHED 10:10:49 10:10:49 #9 [5/6] WORKDIR /opt 10:10:49 #9 CACHED 10:10:49 10:10:49 #10 [6/6] COPY . /opt 10:10:49 #10 DONE 0.6s 10:10:49 10:10:49 #11 exporting to image 10:10:49 #11 exporting layers 10:10:50 #11 exporting layers 0.5s done 10:10:50 #11 writing image sha256:a3762ac9ceb01171d50de8736d0fb05ef1d7ffa11e2a970f63eba5a94759639e done 10:10:50 #11 naming to docker.io/library/personnel-oa done 10:10:50 #11 DONE 0.5s 10:10:50 fd69b4adcd542316cf7f5d058106b7fa64efcc704722958d58b888de55a01d70 10:10:51 Deleted Images: 10:10:51 deleted: sha256:de9be4dc5837a64842005945f81531a046e2fae7ad48c89c6feac89cc93efae8 10:10:51 10:10:51 Total reclaimed space: 0B 10:10:51 10:10:51 [SSH] completed 10:10:51 [SSH] exit-status: 0 10:10:51 10:10:51 Finished: SUCCESS