Skip to content

Console Output

11:14:58 Started by user unknown or anonymous
11:14:58 Running as SYSTEM
11:14:58 Building in workspace /data/jenkins/workspace/PSSTK
11:14:58 The recommended git tool is: NONE
11:14:58 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
11:14:58  > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/PSSTK/.git # timeout=10
11:14:58 Fetching changes from the remote Git repository
11:14:58  > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_activity/PSSTK.git # timeout=10
11:14:58 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_activity/PSSTK.git
11:14:58  > /usr/local/git/bin/git --version # timeout=10
11:14:58  > git --version # 'git version 2.43.0'
11:14:58 using GIT_ASKPASS to set credentials gitlab凭据
11:14:58  > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_activity/PSSTK.git +refs/heads/*:refs/remotes/origin/* # timeout=10
11:14:58  > /usr/local/git/bin/git rev-parse 709fb51^{commit} # timeout=10
11:14:58 Checking out Revision 709fb51e03936e6891bc8f3c32f29b97a24f699f (detached)
11:14:58  > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
11:14:58  > /usr/local/git/bin/git checkout -f 709fb51e03936e6891bc8f3c32f29b97a24f699f # timeout=10
11:14:58 Commit message: "修改json解析"
11:14:58  > /usr/local/git/bin/git rev-list --no-walk c491ddddc5a3f1add55b494622a882df0c8acd68 # timeout=10
11:14:58 [PSSTK] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins3956748437408095701.sh
11:14:58 + export MAVEN_HOME=/usr/local/maven
11:14:58 + MAVEN_HOME=/usr/local/maven
11:14:58 + export PATH=/usr/local/jdk1.8/bin:/usr/local/maven:/usr/local/jdk1.8/bin:/usr/local/maven:/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/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:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin
11:14:58 + PATH=/usr/local/jdk1.8/bin:/usr/local/maven:/usr/local/jdk1.8/bin:/usr/local/maven:/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/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:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin
11:14:58 + export JAVA_HOME=/usr/local/jdk1.8
11:14:58 + JAVA_HOME=/usr/local/jdk1.8
11:14:58 + export JAVA_CLASS=/usr/local/jdk1.8/lib
11:14:58 + JAVA_CLASS=/usr/local/jdk1.8/lib
11:14:58 + export PATH=/usr/local/jdk1.8/bin:/usr/local/jdk1.8/bin:/usr/local/maven:/usr/local/jdk1.8/bin:/usr/local/maven:/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/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:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin
11:14:58 + PATH=/usr/local/jdk1.8/bin:/usr/local/jdk1.8/bin:/usr/local/maven:/usr/local/jdk1.8/bin:/usr/local/maven:/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/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:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin
11:14:58 + cd /data/jenkins/workspace/PSSTK
11:14:58 + mvn clean install -DskipTests=true -Ptest
11:14:59 [INFO] Scanning for projects...
11:14:59 [WARNING] 
11:14:59 [WARNING] Some problems were encountered while building the effective model for com.bcxin.survey:bcx_survey:war:1.0
11:14:59 [WARNING] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 461, column 13
11:14:59 [WARNING] 
11:14:59 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
11:14:59 [WARNING] 
11:14:59 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
11:14:59 [WARNING] 
11:14:59 [INFO] 
11:14:59 [INFO] --------------------< com.bcxin.survey:bcx_survey >---------------------
11:14:59 [INFO] Building bcx_survey 1.0
11:14:59 [INFO] --------------------------------[ war ]---------------------------------
11:15:00 [INFO] 
11:15:00 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bcx_survey ---
11:15:00 [INFO] Deleting /data/jenkins/workspace/PSSTK/target
11:15:00 [INFO] 
11:15:00 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bcx_survey ---
11:15:00 [INFO] Using 'UTF-8' encoding to copy filtered resources.
11:15:00 [INFO] Copying 12 resources
11:15:00 [INFO] Copying 3 resources
11:15:00 [INFO] 
11:15:00 [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ bcx_survey ---
11:15:01 [INFO] Changes detected - recompiling the module!
11:15:01 [INFO] Compiling 333 source files to /data/jenkins/workspace/PSSTK/target/classes
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/FileUtils.java:[13,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/DocumentHandler.java:[18,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/AnnotaionMetaDataReadingVisitor.java:[5,50] com.sun.org.apache.bcel.internal.classfile.EmptyVisitor is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[9,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[10,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/FileUtils.java:[13,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/DocumentHandler.java:[18,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/AnnotaionMetaDataReadingVisitor.java:[5,50] com.sun.org.apache.bcel.internal.classfile.EmptyVisitor is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[9,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[10,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/FileUtils.java:[13,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/DocumentHandler.java:[18,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/AnnotaionMetaDataReadingVisitor.java:[5,50] com.sun.org.apache.bcel.internal.classfile.EmptyVisitor is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[9,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[10,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/FileUtils.java:[13,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/DocumentHandler.java:[18,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/AnnotaionMetaDataReadingVisitor.java:[5,50] com.sun.org.apache.bcel.internal.classfile.EmptyVisitor is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[9,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[10,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/FileUtils.java:[13,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/DocumentHandler.java:[18,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/AnnotaionMetaDataReadingVisitor.java:[5,50] com.sun.org.apache.bcel.internal.classfile.EmptyVisitor is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[9,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[10,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/FileUtils.java:[255,21] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/FileUtils.java:[255,49] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/DocumentHandler.java:[66,9] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/DocumentHandler.java:[66,37] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/AnnotaionMetaDataReadingVisitor.java:[7,54] com.sun.org.apache.bcel.internal.classfile.EmptyVisitor is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[29,21] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[44,21] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[67,11] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[67,39] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[77,11] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/BASE64Util.java:[77,39] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/DateUtil.java: /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/DateUtil.java uses or overrides a deprecated API.
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/utils/DateUtil.java: Recompile with -Xlint:deprecation for details.
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/dao/report/BaseDaoImpl.java: Some input files use unchecked or unsafe operations.
11:15:07 [WARNING] /data/jenkins/workspace/PSSTK/src/main/java/com/bcxin/survey/dao/report/BaseDaoImpl.java: Recompile with -Xlint:unchecked for details.
11:15:07 [INFO] 
11:15:07 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bcx_survey ---
11:15:07 [INFO] Using 'UTF-8' encoding to copy filtered resources.
11:15:07 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/PSSTK/src/test/resources
11:15:07 [INFO] 
11:15:07 [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ bcx_survey ---
11:15:07 [INFO] No sources to compile
11:15:07 [INFO] 
11:15:07 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ bcx_survey ---
11:15:07 [INFO] Tests are skipped.
11:15:07 [INFO] 
11:15:07 [INFO] --- maven-war-plugin:2.2:war (default-war) @ bcx_survey ---
11:15:07 [INFO] Packaging webapp
11:15:07 [INFO] Assembling webapp [bcx_survey] in [/data/jenkins/workspace/PSSTK/target/bcxin_survey]
11:15:07 [INFO] Processing war project
11:15:07 [INFO] Copying webapp resources [/data/jenkins/workspace/PSSTK/src/main/webapp]
11:15:08 [INFO] Webapp assembled in [433 msecs]
11:15:08 [INFO] Building war: /data/jenkins/workspace/PSSTK/target/bcxin_survey.war
11:15:14 [INFO] WEB-INF/web.xml already added, skipping
11:15:14 [INFO] 
11:15:14 [INFO] --- maven-install-plugin:2.4:install (default-install) @ bcx_survey ---
11:15:14 [INFO] Installing /data/jenkins/workspace/PSSTK/target/bcxin_survey.war to /Users/linchunpeng/maven/repository/com/bcxin/survey/bcx_survey/1.0/bcx_survey-1.0.war
11:15:14 [INFO] Installing /data/jenkins/workspace/PSSTK/pom.xml to /Users/linchunpeng/maven/repository/com/bcxin/survey/bcx_survey/1.0/bcx_survey-1.0.pom
11:15:14 [INFO] ------------------------------------------------------------------------
11:15:14 [INFO] BUILD SUCCESS
11:15:14 [INFO] ------------------------------------------------------------------------
11:15:14 [INFO] Total time:  14.874 s
11:15:14 [INFO] Finished at: 2024-08-30T11:15:14+08:00
11:15:14 [INFO] ------------------------------------------------------------------------
11:15:14 + scp /data/jenkins/workspace/PSSTK/target/bcxin_survey.war 172.20.0.7:/data/workspace/psstk/ROOT.war
11:15:15 [SSH] script:
11:15:15 
11:15:15 docker rm -f psstk
11:15:15 docker build -t psstk /data/workspace/psstk/
11:15:15 docker run -d --name psstk -p 40030:8080 psstk
11:15:15 docker image prune -f 
11:15:15 
11:15:15 [SSH] executing...
11:15:16 #0 building with "default" instance using docker driver
11:15:16 
11:15:16 #1 [internal] load .dockerignore
11:15:16 #1 transferring context: 2B done
11:15:16 #1 DONE 0.0s
11:15:16 
11:15:16 #2 [internal] load build definition from Dockerfile
11:15:16 #2 transferring dockerfile: 225B done
11:15:16 #2 DONE 0.0s
11:15:16 
11:15:16 #3 [internal] load metadata for docker.io/library/tomcat:9.0.83-jre8-temurin-jammy
11:15:16 #3 DONE 0.0s
11:15:16 
11:15:16 #4 [1/3] FROM docker.io/library/tomcat:9.0.83-jre8-temurin-jammy
11:15:16 #4 DONE 0.0s
11:15:16 
11:15:16 #5 [internal] load build context
11:15:17 psstk
11:15:17 #5 transferring context: 115.69MB 0.8s done
11:15:17 #5 DONE 0.8s
11:15:17 
11:15:17 #6 [2/3] RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo Asia/Shanghai > /etc/timezone
11:15:17 #6 CACHED
11:15:17 
11:15:17 #7 [3/3] COPY . /usr/local/tomcat/webapps
11:15:18 #7 DONE 0.5s
11:15:18 
11:15:18 #8 exporting to image
11:15:18 #8 exporting layers
11:15:18 #8 exporting layers 0.6s done
11:15:18 #8 writing image sha256:bca7a826fd4d8c4d4a552ef73379d68b6e9b224cc9e5dff4204fb5747ca659da done
11:15:18 #8 naming to docker.io/library/psstk done
11:15:18 #8 DONE 0.6s
11:15:19 a160ea4ecdea2c81514d2045ec43aad6f2a50183c0944414298a49f3b9730f72
11:15:19 Deleted Images:
11:15:19 deleted: sha256:06c089ff8c407223012b182b98af3fc4bd37413788523840a4bf440d6373e7ce
11:15:19 
11:15:19 Total reclaimed space: 0B
11:15:19 
11:15:19 [SSH] completed
11:15:19 [SSH] exit-status: 0
11:15:19 
11:15:19 Finished: SUCCESS