Started by user admin Running as SYSTEM Building in workspace /data/jenkins/workspace/personnel-oa 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/personnel-oa/.git # timeout=10 Fetching changes from the remote Git repository > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/personnel-oa.git # timeout=10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/personnel-oa.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/bcx_basic/personnel-oa.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 Checking out Revision cb15d917e383a57f6e31de9cc2364d5cb321c97f (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f cb15d917e383a57f6e31de9cc2364d5cb321c97f # timeout=10 Commit message: "前后端对接补漏" > /usr/local/git/bin/git rev-list --no-walk 617d1b96b23f46d806339bc34167b2db799472e4 # timeout=10 [personnel-oa] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins5028006638918267235.sh + cd /data/jenkins/workspace/personnel-oa + mvn clean package [INFO] Scanning for projects... [INFO] [INFO] -----------------------< com.bcxin:personnel-oa >----------------------- [INFO] Building personnel-oa 1.0.0 [INFO] --------------------------------[ jar ]--------------------------------- Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/com/alibaba/druid-spring-boot-starter/1.1.22/druid-spring-boot-starter-1.1.22.pom Progress (1): 3.6/6.5 kB Progress (1): 6.5 kB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/com/alibaba/druid-spring-boot-starter/1.1.22/druid-spring-boot-starter-1.1.22.pom (6.5 kB at 8.1 kB/s) Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/boot/spring-boot-dependencies/1.5.12.RELEASE/spring-boot-dependencies-1.5.12.RELEASE.pom Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/boot/spring-boot-dependencies/1.5.12.RELEASE/spring-boot-dependencies-1.5.12.RELEASE.pom (0 B at 0 B/s) Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/com/fasterxml/jackson/jackson-bom/2.8.11.20180217/jackson-bom-2.8.11.20180217.pom Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/com/fasterxml/jackson/jackson-bom/2.8.11.20180217/jackson-bom-2.8.11.20180217.pom (0 B at 0 B/s) Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/spring-framework-bom/4.3.16.RELEASE/spring-framework-bom-4.3.16.RELEASE.pom Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/spring-framework-bom/4.3.16.RELEASE/spring-framework-bom-4.3.16.RELEASE.pom (0 B at 0 B/s) Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/data/spring-data-releasetrain/Ingalls-SR11/spring-data-releasetrain-Ingalls-SR11.pom Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/data/spring-data-releasetrain/Ingalls-SR11/spring-data-releasetrain-Ingalls-SR11.pom (0 B at 0 B/s) Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/data/build/spring-data-build/1.9.11.RELEASE/spring-data-build-1.9.11.RELEASE.pom Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/data/build/spring-data-build/1.9.11.RELEASE/spring-data-build-1.9.11.RELEASE.pom (0 B at 0 B/s) Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/integration/spring-integration-bom/4.3.15.RELEASE/spring-integration-bom-4.3.15.RELEASE.pom Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/integration/spring-integration-bom/4.3.15.RELEASE/spring-integration-bom-4.3.15.RELEASE.pom (0 B at 0 B/s) Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/security/spring-security-bom/4.2.5.RELEASE/spring-security-bom-4.2.5.RELEASE.pom Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/org/springframework/security/spring-security-bom/4.2.5.RELEASE/spring-security-bom-4.2.5.RELEASE.pom (0 B at 0 B/s) Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/com/alibaba/druid/1.1.22/druid-1.1.22.pom Progress (1): 3.6/13 kB Progress (1): 7.7/13 kB Progress (1): 12/13 kB Progress (1): 13 kB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/com/alibaba/druid/1.1.22/druid-1.1.22.pom (13 kB at 115 kB/s) [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been relocated to com.mysql:mysql-connector-j:jar:8.0.31 Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/com/alibaba/druid-spring-boot-starter/1.1.22/druid-spring-boot-starter-1.1.22.jar Downloading from aliyunmaven: https://maven.aliyun.com/repository/central/com/alibaba/druid/1.1.22/druid-1.1.22.jar Progress (1): 3.6/20 kB Progress (1): 7.7/20 kB Progress (1): 12/20 kB Progress (1): 16/20 kB Progress (1): 20/20 kB Progress (1): 20 kB Progress (2): 20 kB | 0/2.8 MB Progress (2): 20 kB | 0/2.8 MB Progress (2): 20 kB | 0/2.8 MB Progress (2): 20 kB | 0.1/2.8 MB Progress (2): 20 kB | 0.1/2.8 MB Progress (2): 20 kB | 0.1/2.8 MB Progress (2): 20 kB | 0.1/2.8 MB Progress (2): 20 kB | 0.1/2.8 MB Progress (2): 20 kB | 0.1/2.8 MB Progress (2): 20 kB | 0.1/2.8 MB Progress (2): 20 kB | 0.1/2.8 MB Progress (2): 20 kB | 0.2/2.8 MB Progress (2): 20 kB | 0.2/2.8 MB Progress (2): 20 kB | 0.2/2.8 MB Progress (2): 20 kB | 0.2/2.8 MB Progress (2): 20 kB | 0.2/2.8 MB Progress (2): 20 kB | 0.2/2.8 MB Progress (2): 20 kB | 0.2/2.8 MB Progress (2): 20 kB | 0.2/2.8 MB Progress (2): 20 kB | 0.2/2.8 MB Progress (2): 20 kB | 0.3/2.8 MB Progress (2): 20 kB | 0.3/2.8 MB Progress (2): 20 kB | 0.3/2.8 MB Progress (2): 20 kB | 0.3/2.8 MB Progress (2): 20 kB | 0.3/2.8 MB Progress (2): 20 kB | 0.3/2.8 MB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/com/alibaba/druid-spring-boot-starter/1.1.22/druid-spring-boot-starter-1.1.22.jar (20 kB at 91 kB/s) Progress (1): 0.3/2.8 MB Progress (1): 0.3/2.8 MB Progress (1): 0.4/2.8 MB Progress (1): 0.4/2.8 MB Progress (1): 0.4/2.8 MB Progress (1): 0.4/2.8 MB Progress (1): 0.4/2.8 MB Progress (1): 0.4/2.8 MB Progress (1): 0.4/2.8 MB Progress (1): 0.4/2.8 MB Progress (1): 0.5/2.8 MB Progress (1): 0.5/2.8 MB Progress (1): 0.5/2.8 MB Progress (1): 0.5/2.8 MB Progress (1): 0.5/2.8 MB Progress (1): 0.5/2.8 MB Progress (1): 0.5/2.8 MB Progress (1): 0.5/2.8 MB Progress (1): 0.6/2.8 MB Progress (1): 0.6/2.8 MB Progress (1): 0.6/2.8 MB Progress (1): 0.6/2.8 MB Progress (1): 0.6/2.8 MB Progress (1): 0.6/2.8 MB Progress (1): 0.6/2.8 MB Progress (1): 0.6/2.8 MB Progress (1): 0.7/2.8 MB Progress (1): 0.7/2.8 MB Progress (1): 0.7/2.8 MB Progress (1): 0.7/2.8 MB Progress (1): 0.7/2.8 MB Progress (1): 0.7/2.8 MB Progress (1): 0.7/2.8 MB Progress (1): 0.7/2.8 MB Progress (1): 0.8/2.8 MB Progress (1): 0.8/2.8 MB Progress (1): 0.8/2.8 MB Progress (1): 0.8/2.8 MB Progress (1): 0.8/2.8 MB Progress (1): 0.8/2.8 MB Progress (1): 0.8/2.8 MB Progress (1): 0.8/2.8 MB Progress (1): 0.9/2.8 MB Progress (1): 0.9/2.8 MB Progress (1): 0.9/2.8 MB Progress (1): 0.9/2.8 MB Progress (1): 0.9/2.8 MB Progress (1): 0.9/2.8 MB Progress (1): 0.9/2.8 MB Progress (1): 0.9/2.8 MB Progress (1): 0.9/2.8 MB Progress (1): 1.0/2.8 MB Progress (1): 1.0/2.8 MB Progress (1): 1.0/2.8 MB Progress (1): 1.0/2.8 MB Progress (1): 1.0/2.8 MB Progress (1): 1.0/2.8 MB Progress (1): 1.0/2.8 MB Progress (1): 1.0/2.8 MB Progress (1): 1.1/2.8 MB Progress (1): 1.1/2.8 MB Progress (1): 1.1/2.8 MB Progress (1): 1.1/2.8 MB Progress (1): 1.1/2.8 MB Progress (1): 1.1/2.8 MB Progress (1): 1.1/2.8 MB Progress (1): 1.1/2.8 MB Progress (1): 1.2/2.8 MB Progress (1): 1.2/2.8 MB Progress (1): 1.2/2.8 MB Progress (1): 1.2/2.8 MB Progress (1): 1.2/2.8 MB Progress (1): 1.2/2.8 MB Progress (1): 1.2/2.8 MB Progress (1): 1.2/2.8 MB Progress (1): 1.3/2.8 MB Progress (1): 1.3/2.8 MB Progress (1): 1.3/2.8 MB Progress (1): 1.3/2.8 MB Progress (1): 1.3/2.8 MB Progress (1): 1.3/2.8 MB Progress (1): 1.3/2.8 MB Progress (1): 1.3/2.8 MB Progress (1): 1.4/2.8 MB Progress (1): 1.4/2.8 MB Progress (1): 1.4/2.8 MB Progress (1): 1.4/2.8 MB Progress (1): 1.4/2.8 MB Progress (1): 1.4/2.8 MB Progress (1): 1.4/2.8 MB Progress (1): 1.4/2.8 MB Progress (1): 1.5/2.8 MB Progress (1): 1.5/2.8 MB Progress (1): 1.5/2.8 MB Progress (1): 1.5/2.8 MB Progress (1): 1.5/2.8 MB Progress (1): 1.5/2.8 MB Progress (1): 1.5/2.8 MB Progress (1): 1.5/2.8 MB Progress (1): 1.6/2.8 MB Progress (1): 1.6/2.8 MB Progress (1): 1.6/2.8 MB Progress (1): 1.6/2.8 MB Progress (1): 1.6/2.8 MB Progress (1): 1.6/2.8 MB Progress (1): 1.6/2.8 MB Progress (1): 1.6/2.8 MB Progress (1): 1.7/2.8 MB Progress (1): 1.7/2.8 MB Progress (1): 1.7/2.8 MB Progress (1): 1.7/2.8 MB Progress (1): 1.7/2.8 MB Progress (1): 1.7/2.8 MB Progress (1): 1.7/2.8 MB Progress (1): 1.7/2.8 MB Progress (1): 1.7/2.8 MB Progress (1): 1.8/2.8 MB Progress (1): 1.8/2.8 MB Progress (1): 1.8/2.8 MB Progress (1): 1.8/2.8 MB Progress (1): 1.8/2.8 MB Progress (1): 1.8/2.8 MB Progress (1): 1.8/2.8 MB Progress (1): 1.8/2.8 MB Progress (1): 1.9/2.8 MB Progress (1): 1.9/2.8 MB Progress (1): 1.9/2.8 MB Progress (1): 1.9/2.8 MB Progress (1): 1.9/2.8 MB Progress (1): 1.9/2.8 MB Progress (1): 1.9/2.8 MB Progress (1): 1.9/2.8 MB Progress (1): 2.0/2.8 MB Progress (1): 2.0/2.8 MB Progress (1): 2.0/2.8 MB Progress (1): 2.0/2.8 MB Progress (1): 2.0/2.8 MB Progress (1): 2.0/2.8 MB Progress (1): 2.0/2.8 MB Progress (1): 2.0/2.8 MB Progress (1): 2.1/2.8 MB Progress (1): 2.1/2.8 MB Progress (1): 2.1/2.8 MB Progress (1): 2.1/2.8 MB Progress (1): 2.1/2.8 MB Progress (1): 2.1/2.8 MB Progress (1): 2.1/2.8 MB Progress (1): 2.1/2.8 MB Progress (1): 2.2/2.8 MB Progress (1): 2.2/2.8 MB Progress (1): 2.2/2.8 MB Progress (1): 2.2/2.8 MB Progress (1): 2.2/2.8 MB Progress (1): 2.2/2.8 MB Progress (1): 2.2/2.8 MB Progress (1): 2.2/2.8 MB Progress (1): 2.3/2.8 MB Progress (1): 2.3/2.8 MB Progress (1): 2.3/2.8 MB Progress (1): 2.3/2.8 MB Progress (1): 2.3/2.8 MB Progress (1): 2.3/2.8 MB Progress (1): 2.3/2.8 MB Progress (1): 2.3/2.8 MB Progress (1): 2.4/2.8 MB Progress (1): 2.4/2.8 MB Progress (1): 2.4/2.8 MB Progress (1): 2.4/2.8 MB Progress (1): 2.4/2.8 MB Progress (1): 2.4/2.8 MB Progress (1): 2.4/2.8 MB Progress (1): 2.4/2.8 MB Progress (1): 2.4/2.8 MB Progress (1): 2.5/2.8 MB Progress (1): 2.5/2.8 MB Progress (1): 2.5/2.8 MB Progress (1): 2.5/2.8 MB Progress (1): 2.5/2.8 MB Progress (1): 2.5/2.8 MB Progress (1): 2.5/2.8 MB Progress (1): 2.5/2.8 MB Progress (1): 2.6/2.8 MB Progress (1): 2.6/2.8 MB Progress (1): 2.6/2.8 MB Progress (1): 2.6/2.8 MB Progress (1): 2.6/2.8 MB Progress (1): 2.6/2.8 MB Progress (1): 2.6/2.8 MB Progress (1): 2.6/2.8 MB Progress (1): 2.7/2.8 MB Progress (1): 2.7/2.8 MB Progress (1): 2.7/2.8 MB Progress (1): 2.7/2.8 MB Progress (1): 2.7/2.8 MB Progress (1): 2.7/2.8 MB Progress (1): 2.7/2.8 MB Progress (1): 2.7/2.8 MB Progress (1): 2.8/2.8 MB Progress (1): 2.8/2.8 MB Progress (1): 2.8/2.8 MB Progress (1): 2.8/2.8 MB Progress (1): 2.8/2.8 MB Progress (1): 2.8/2.8 MB Progress (1): 2.8/2.8 MB Progress (1): 2.8 MB Downloaded from aliyunmaven: https://maven.aliyun.com/repository/central/com/alibaba/druid/1.1.22/druid-1.1.22.jar (2.8 MB at 2.4 MB/s) [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ personnel-oa --- [INFO] Deleting /data/jenkins/workspace/personnel-oa/target [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ personnel-oa --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 3 resources [INFO] Copying 73 resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ personnel-oa --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 446 source files to /data/jenkins/workspace/personnel-oa/target/classes [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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. [INFO] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/entity/enterprise/company/ComBaseInfo.java: Recompile with -Xlint:deprecation for details. [INFO] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/BaseController.java: Some input files use unchecked or unsafe operations. [INFO] /data/jenkins/workspace/personnel-oa/src/main/java/com/bcxin/oa/old/common/BaseController.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ personnel-oa --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /data/jenkins/workspace/personnel-oa/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ personnel-oa --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ personnel-oa --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ personnel-oa --- [INFO] Building jar: /data/jenkins/workspace/personnel-oa/target/personnel-oa-1.0.0.jar [INFO] [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ personnel-oa --- [INFO] Replacing main artifact with repackaged archive [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.898 s [INFO] Finished at: 2024-01-16T13:50:15+08:00 [INFO] ------------------------------------------------------------------------ + scp /data/jenkins/workspace/personnel-oa/target/personnel-oa-1.0.0.jar 172.20.0.7:/data/workspace/personnel-oa [SSH] script: docker rm -f personnel-oa cd /data/workspace/personnel-oa docker build -t personnel-oa . docker run -d --name personnel-oa -p 16001:16001 --memory=1g --restart=always personnel-oa docker image prune -f [SSH] executing... #0 building with "default" instance using docker driver #1 [internal] load .dockerignore #1 transferring context: 51B done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 317B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/java:8-jdk-alpine personnel-oa #3 DONE 15.4s #4 [1/6] FROM docker.io/library/java:8-jdk-alpine@sha256:d49bf8c44670834d3dade17f8b84d709e7db47f1887f671a0e098bafa9bae49f #4 DONE 0.0s #5 [internal] load build context #5 transferring context: 32B #5 transferring context: 90.22MB 0.6s done #5 DONE 0.6s #6 [3/6] RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime #6 CACHED #7 [4/6] RUN echo "Asia/Shanghai" > /etc/timezone #7 CACHED #8 [2/6] RUN apk update && apk add tzdata #8 CACHED #9 [5/6] WORKDIR /opt #9 CACHED #10 [6/6] COPY . /opt #10 DONE 0.9s #11 exporting to image #11 exporting layers #11 exporting layers 0.5s done #11 writing image sha256:7a0d4e72302621233f084b219bf222d8b15a852f6179018a1ed87ad2ec7d3640 done #11 naming to docker.io/library/personnel-oa done #11 DONE 0.5s 1a3f32f0e0715042d9e93b7380826b968a8892acd1402a5d560e5bcd354904ca Deleted Images: deleted: sha256:a3762ac9ceb01171d50de8736d0fb05ef1d7ffa11e2a970f63eba5a94759639e Total reclaimed space: 0B [SSH] completed [SSH] exit-status: 0 Finished: SUCCESS