634 lines
32 KiB
Plaintext
634 lines
32 KiB
Plaintext
Started by user 刘阳
|
|
|
|
[钉钉插件]全局配置信息,{"proxyConfig":{"type":"HTTP","host":"","port":0},"verbose":true,"noticeOccasions":["SUCCESS","START","ABORTED","FAILURE","UNSTABLE"],"robotConfigs":[{"id":"bdd673c1-c779-4088-82be-b16624c53430","name":"【Jenkins构建消息通知】","webhook":{"value":"https://oapi.dingtalk.com/robot/send?access_token\u003d36238ae800104a95fc3e6e02ff12ccf471a55a47fcb9ad9501a7ddfb82d7a293","iv":[64,-55,-21,38,-93,-43,2,-46,75,-95,-32,-16,77,43,0,-117]},"securityPolicyConfigs":[{"type":"KEY","desc":"关键字","value":{"value":"发布","iv":[25,33,-25,-65,95,33,22,-43,47,93,35,43,-77,-77,-60,-63]}},{"type":"SECRET","desc":"加密","value":{"value":"","iv":[-19,96,-91,94,19,65,-82,-94,42,25,6,-33,-90,120,77,40]}}]}]}
|
|
|
|
[钉钉插件]当前任务未配置机器人,已跳过
|
|
Looking up repository yunheng/yunheng
|
|
Querying the current revision of branch test...
|
|
Current revision of branch test is 691a917303efbc4550d111f7cc9963216b087d4e
|
|
Obtained .jenkins/Jenkinsfile from 691a917303efbc4550d111f7cc9963216b087d4e
|
|
Loading library share-library@yunheng
|
|
Attempting to resolve yunheng from remote references...
|
|
> /usr/bin/git --version # timeout=10
|
|
> git --version # 'git version 2.39.2'
|
|
using GIT_ASKPASS to set credentials gitee access token
|
|
> /usr/bin/git ls-remote -h -- https://gitee.com/lamefox/jenkins-share-library.git # timeout=10
|
|
Found match: refs/heads/yunheng revision ed914f8c9a64514a1caf3747b13a7cd0ddc38222
|
|
The recommended git tool is: NONE
|
|
using credential gitee-lamefox
|
|
> /usr/bin/git rev-parse --resolve-git-dir /var/jenkins_home/workspace/v3-yhzz-order-biz_test@libs/6e7b93324666b4dab5c7ec108dfb8a0401b885f9aef36f5f50cddf9142b4168d/.git # timeout=10
|
|
Fetching changes from the remote Git repository
|
|
> /usr/bin/git config remote.origin.url https://gitee.com/lamefox/jenkins-share-library.git # timeout=10
|
|
Using shallow fetch with depth 1
|
|
Fetching upstream changes from https://gitee.com/lamefox/jenkins-share-library.git
|
|
> /usr/bin/git --version # timeout=10
|
|
> git --version # 'git version 2.39.2'
|
|
using GIT_ASKPASS to set credentials gitee access token
|
|
> /usr/bin/git fetch --tags --force --progress --depth=1 -- https://gitee.com/lamefox/jenkins-share-library.git +refs/heads/*:refs/remotes/origin/* # timeout=10
|
|
Checking out Revision ed914f8c9a64514a1caf3747b13a7cd0ddc38222 (yunheng)
|
|
> /usr/bin/git config core.sparsecheckout # timeout=10
|
|
> /usr/bin/git checkout -f ed914f8c9a64514a1caf3747b13a7cd0ddc38222 # timeout=10
|
|
Commit message: "add println"
|
|
> /usr/bin/git rev-list --no-walk ed914f8c9a64514a1caf3747b13a7cd0ddc38222 # timeout=10
|
|
[Gitea] Notifying branch build status: PENDING Build started...
|
|
[Gitea] Notified
|
|
[Pipeline] Start of Pipeline
|
|
[Pipeline] node
|
|
Running on Jenkins in /var/jenkins_home/workspace/v3-yhzz-order-biz_test
|
|
[Pipeline] {
|
|
[Pipeline] stage
|
|
[Pipeline] { (Declarative: Checkout SCM)
|
|
[Pipeline] checkout
|
|
The recommended git tool is: NONE
|
|
using credential 03a74b6e-92de-429b-8d63-22fe15da43c2
|
|
> /usr/bin/git rev-parse --resolve-git-dir /var/jenkins_home/workspace/v3-yhzz-order-biz_test/.git # timeout=10
|
|
Fetching changes from the remote Git repository
|
|
> /usr/bin/git config remote.origin.url https://git.yunhengwang.net/yunheng/yunheng.git # timeout=10
|
|
Fetching without tags
|
|
Fetching upstream changes from https://git.yunhengwang.net/yunheng/yunheng.git
|
|
> /usr/bin/git --version # timeout=10
|
|
> git --version # 'git version 2.39.2'
|
|
using GIT_ASKPASS to set credentials git.yunhengwang.com
|
|
> /usr/bin/git fetch --no-tags --force --progress -- https://git.yunhengwang.net/yunheng/yunheng.git +refs/heads/test:refs/remotes/origin/test # timeout=10
|
|
Checking out Revision 691a917303efbc4550d111f7cc9963216b087d4e (test)
|
|
> /usr/bin/git config core.sparsecheckout # timeout=10
|
|
> /usr/bin/git checkout -f 691a917303efbc4550d111f7cc9963216b087d4e # timeout=10
|
|
Commit message: "Merge branch 'v3.5.2' into test"
|
|
> /usr/bin/git rev-list --no-walk cf78f376978879cb862dbba22a3c50296be8a7d9 # timeout=10
|
|
[Gitea] Notifying branch build status: PENDING Build started...
|
|
[Gitea] Notified
|
|
[Pipeline] }
|
|
[Pipeline] // stage
|
|
[Pipeline] withEnv
|
|
[Pipeline] {
|
|
[Pipeline] stage
|
|
[Pipeline] { (Setup Parameters & ENV)
|
|
[Pipeline] node
|
|
Running on jiangning-slave02-docker in /var/jenkins_home/workspace/v3-yhzz-order-biz_test
|
|
[Pipeline] {
|
|
[Pipeline] checkout
|
|
The recommended git tool is: NONE
|
|
using credential 03a74b6e-92de-429b-8d63-22fe15da43c2
|
|
Fetching changes from the remote Git repository
|
|
Fetching without tags
|
|
Checking out Revision 691a917303efbc4550d111f7cc9963216b087d4e (test)
|
|
Commit message: "Merge branch 'v3.5.2' into test"
|
|
[Gitea] Notifying branch build status: PENDING Build started...
|
|
[Gitea] Notified
|
|
[Pipeline] withEnv
|
|
[Pipeline] {
|
|
[Pipeline] script
|
|
[Pipeline] {
|
|
[Pipeline] checkout
|
|
The recommended git tool is: NONE
|
|
using credential 03a74b6e-92de-429b-8d63-22fe15da43c2
|
|
Fetching changes from the remote Git repository
|
|
> /usr/bin/git rev-parse --resolve-git-dir /var/jenkins_home/workspace/v3-yhzz-order-biz_test/.git # timeout=10
|
|
> /usr/bin/git config remote.origin.url https://git.yunhengwang.net/yunheng/yunheng.git # timeout=10
|
|
Fetching upstream changes from https://git.yunhengwang.net/yunheng/yunheng.git
|
|
> /usr/bin/git --version # timeout=10
|
|
> git --version # 'git version 2.20.1'
|
|
using GIT_ASKPASS to set credentials git.yunhengwang.com
|
|
> /usr/bin/git fetch --no-tags --force --progress -- https://git.yunhengwang.net/yunheng/yunheng.git +refs/heads/test:refs/remotes/origin/test # timeout=10
|
|
> /usr/bin/git config core.sparsecheckout # timeout=10
|
|
> /usr/bin/git checkout -f 691a917303efbc4550d111f7cc9963216b087d4e # timeout=10
|
|
Checking out Revision 405ec24f243830a7570aeeebd3cdb5cf774626c1 (refs/remotes/origin/master)
|
|
Commit message: "add digitize"
|
|
> /usr/bin/git rev-parse --resolve-git-dir /var/jenkins_home/workspace/v3-yhzz-order-biz_test/.pipelines/.git # timeout=10
|
|
> /usr/bin/git config remote.origin.url https://git.yunhengwang.net/cicd/pipeline-files.git # timeout=10
|
|
Fetching upstream changes from https://git.yunhengwang.net/cicd/pipeline-files.git
|
|
> /usr/bin/git --version # timeout=10
|
|
> git --version # 'git version 2.20.1'
|
|
using GIT_ASKPASS to set credentials git.yunhengwang.com
|
|
> /usr/bin/git fetch --tags --force --progress -- https://git.yunhengwang.net/cicd/pipeline-files.git +refs/heads/*:refs/remotes/origin/* # timeout=10
|
|
> /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
|
|
> /usr/bin/git config core.sparsecheckout # timeout=10
|
|
> /usr/bin/git checkout -f 405ec24f243830a7570aeeebd3cdb5cf774626c1 # timeout=10
|
|
> /usr/bin/git rev-list --no-walk 405ec24f243830a7570aeeebd3cdb5cf774626c1 # timeout=10
|
|
[Gitea] Notifying branch build status: PENDING Build started...
|
|
[Gitea] Notified
|
|
[Pipeline] echo
|
|
[INFO] envFileName: .jenkins/.env.yml
|
|
[Pipeline] readYaml
|
|
[Pipeline] readYaml
|
|
[Pipeline] readYaml
|
|
[Pipeline] readJSON
|
|
[Pipeline] readJSON
|
|
[Pipeline] echo
|
|
[INFO] The branchConfig jenkinsAgent is: jiangning-docker
|
|
[Pipeline] echo
|
|
[INFO] The branchConfig mavenSet is: nexus-maven-yhzzv3-test
|
|
[Pipeline] fileExists
|
|
[Pipeline] readYaml
|
|
[Pipeline] echo
|
|
[INFO] The .env.yml file masterProfiles is: [, uat, prod]
|
|
[Pipeline] echo
|
|
[INFO] The .env.yml file Profiles is: [, dev]
|
|
[Pipeline] echo
|
|
[INFO] The .env.yml file jobConfigFile is: .pipelines/config-file/yunhengv3Config.yml
|
|
[Pipeline] echo
|
|
[INFO] The .env.yml file jobName is: v3-yhzz-order-biz
|
|
[Pipeline] echo
|
|
[INFO] The .env.yml file jenkinsAgent is: jiangning-docker
|
|
[Pipeline] echo
|
|
[INFO] The Default Registry Info: jnhub.yunhengwang.net/yhzzv3
|
|
[Pipeline] echo
|
|
[INFO] The commonConfig registryInfo is: [default:[registry:jnhub.yunhengwang.net, registryCredential:jiangning-hub-credentials, registry_project:yhzzv3], acr:[registry:registry-vpc.cn-hangzhou.aliyuncs.com, registryCredential:aliyun-hub-credentials, registry_project:yhzzv3]]
|
|
[Pipeline] echo
|
|
[INFO] The commonConfig deployScript is: deploy_env.sh
|
|
[Pipeline] echo
|
|
[INFO] The commonConfig deployPath is: /data/apps/yhsc
|
|
[Pipeline] echo
|
|
[INFO] The commonConfig serverInfo is: [dev:[serverIP01:root@192.168.124.125, sshkey:jenkins-ssh-152], test:[serverIP01:root@192.168.124.126, sshkey:jenkins-ssh-152], uat:[serverIP01:[root@172.18.1.7], sshkey:jenkins-ssh-152], prod:[serverIP01:[root@172.18.1.5], sshkey:jenkins-ssh-152], newuat:[serverIP01:root@172.18.1.7, sshkey:jenkins-ssh-152], newprod:[serverIP01:root@172.18.1.5, sshkey:jenkins-ssh-152]]
|
|
[Pipeline] echo
|
|
[INFO] The commonConfig containerHub is: [dev:[default], test:[default], uat:[acr], prod:[acr]]
|
|
[Pipeline] echo
|
|
{"programLang":"java","programLangVersion":"8","containerName":"yhzz-order-biz","pomFilePath":"pom.xml","jarName":"yhzz-order-biz.jar","servicePath":"yhzz-order/yhzz-order-biz","port":"4003","javaOpts":"-server -Xms256m -Xmx4g -Xss1m","deployServerHost":"serverIP01","isApi":true,"apiProjectName":"yhzz-order-api","composeFile":"yhzz-docker-compose"}
|
|
[Pipeline] echo
|
|
[INFO] serviceData programLang: java/8
|
|
[Pipeline] echo
|
|
[INFO] serviceData jarFile full path: yhzz-order/yhzz-order-biz/target/yhzz-order-biz.jar
|
|
[Pipeline] echo
|
|
[INFO] serviceData container info: yhzz-order-biz/4003
|
|
[Pipeline] echo
|
|
[INFO] mvnDeploy is null
|
|
[Pipeline] echo
|
|
[INFO] compileModule default standard
|
|
[Pipeline] echo
|
|
[INFO] deployModule default standard
|
|
[Pipeline] echo
|
|
[INFO] The build image for the null branch is: lamefox/maven:3.8.8-jdk-8-dos
|
|
[Pipeline] echo
|
|
[INFO] The base image for the null branch is: lamefox/jre:8u202-rocky8-dos
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig programLang is: java
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig programLangVersion is: 8
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig containerName is: yhzz-order-biz
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig pomFilePath is: pom.xml
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig jarName is: yhzz-order-biz.jar
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig servicePath is: yhzz-order/yhzz-order-biz
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig port is: 4003
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig javaOpts is: -server -Xms256m -Xmx4g -Xss1m
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig deployServerHost is: serverIP01
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig isApi is: true
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig apiProjectName is: yhzz-order-api
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig composeFile is: yhzz-docker-compose
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig jarFilePath is: yhzz-order/yhzz-order-biz/target
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig mvnDeploy is: isNull
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig compileModule is: standard
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig deployModule is: standard
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig buildImage is: lamefox/maven:3.8.8-jdk-8-dos
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig baseImage is: lamefox/jre:8u202-rocky8-dos
|
|
[Pipeline] echo
|
|
[INFO] The serviceConfig deployServerUser is: root
|
|
[Pipeline] echo
|
|
[INFO] The Maven Set XML for the test branch is: null
|
|
[Pipeline] properties
|
|
[Pipeline] echo
|
|
[INFO] deploy Server: root@192.168.124.126
|
|
[Pipeline] }
|
|
[Pipeline] // script
|
|
[Pipeline] }
|
|
[Pipeline] // withEnv
|
|
[Pipeline] }
|
|
[Pipeline] // node
|
|
[Pipeline] }
|
|
[Pipeline] // stage
|
|
[Pipeline] stage
|
|
[Pipeline] { (Compile API)
|
|
[Pipeline] node
|
|
Running on jiangning-slave02-docker in /var/jenkins_home/workspace/v3-yhzz-order-biz_test
|
|
[Pipeline] {
|
|
[Pipeline] isUnix
|
|
[Pipeline] withEnv
|
|
[Pipeline] {
|
|
[Pipeline] sh
|
|
+ docker inspect -f . lamefox/maven:3.8.8-jdk-8-dos
|
|
.
|
|
[Pipeline] }
|
|
[Pipeline] // withEnv
|
|
[Pipeline] withDockerContainer
|
|
jiangning-slave02-docker seems to be running inside container 1deb1a89c78572d0c50c06179ee9d6136406ac06571d7d8a3d52d796bce78f88
|
|
$ docker run -t -d -u 0:0 -v /data/apps/repository/maven/nexus-maven-yhzzv3-test:/root/.m2/repository -v /etc/hosts:/etc/hosts -w /var/jenkins_home/workspace/v3-yhzz-order-biz_test --volumes-from 1deb1a89c78572d0c50c06179ee9d6136406ac06571d7d8a3d52d796bce78f88 -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** lamefox/maven:3.8.8-jdk-8-dos cat
|
|
$ docker top 97cbae3fed6c63f6bbb17392084b544975feccad53920b0855655830eca7c734 -eo pid,comm
|
|
[Pipeline] {
|
|
[Pipeline] }
|
|
$ docker stop --time=1 97cbae3fed6c63f6bbb17392084b544975feccad53920b0855655830eca7c734
|
|
$ docker rm -f --volumes 97cbae3fed6c63f6bbb17392084b544975feccad53920b0855655830eca7c734
|
|
[Pipeline] // withDockerContainer
|
|
[Pipeline] }
|
|
[Pipeline] // node
|
|
Stage "Compile API" skipped due to when conditional
|
|
[Pipeline] getContext
|
|
[Pipeline] }
|
|
[Pipeline] // stage
|
|
[Pipeline] stage
|
|
[Pipeline] { (Compile Service)
|
|
[Pipeline] node
|
|
Running on jiangning-slave02-docker in /var/jenkins_home/workspace/v3-yhzz-order-biz_test
|
|
[Pipeline] {
|
|
[Pipeline] isUnix
|
|
[Pipeline] withEnv
|
|
[Pipeline] {
|
|
[Pipeline] sh
|
|
+ docker inspect -f . lamefox/maven:3.8.8-jdk-8-dos
|
|
.
|
|
[Pipeline] }
|
|
[Pipeline] // withEnv
|
|
[Pipeline] withDockerContainer
|
|
jiangning-slave02-docker seems to be running inside container 1deb1a89c78572d0c50c06179ee9d6136406ac06571d7d8a3d52d796bce78f88
|
|
$ docker run -t -d -u 0:0 -v /data/apps/repository/maven/nexus-maven-yhzzv3-test:/root/.m2/repository -v /etc/hosts:/etc/hosts -w /var/jenkins_home/workspace/v3-yhzz-order-biz_test --volumes-from 1deb1a89c78572d0c50c06179ee9d6136406ac06571d7d8a3d52d796bce78f88 -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** lamefox/maven:3.8.8-jdk-8-dos cat
|
|
$ docker top f61d402f2b8069e04bc65f33d653d8938b47004a6b5b886e3441d2eed12c6cbf -eo pid,comm
|
|
[Pipeline] {
|
|
[Pipeline] script
|
|
[Pipeline] {
|
|
[Pipeline] checkout
|
|
The recommended git tool is: NONE
|
|
using credential 03a74b6e-92de-429b-8d63-22fe15da43c2
|
|
Warning: JENKINS-30600: special launcher org.jenkinsci.plugins.docker.workflow.WithContainerStep$Decorator$1@45ba3a56; decorates RemoteLauncher[hudson.remoting.Channel@446660e0:JNLP4-connect connection from nexus.yunhengwang.net/172.18.1.250:46936] will be ignored (a typical symptom is the Git executable not being run inside a designated container)
|
|
Fetching changes from the remote Git repository
|
|
Checking out Revision 405ec24f243830a7570aeeebd3cdb5cf774626c1 (refs/remotes/origin/master)
|
|
Commit message: "add digitize"
|
|
[Gitea] Notifying branch build status: PENDING Build started...
|
|
[Gitea] Notified
|
|
[Pipeline] echo
|
|
[INFO] Maven build operation with '-am -pl com.yunheng:yhzz-order-biz'
|
|
[Pipeline] echo
|
|
[INFO] build pom.xml is in yhzz-order/yhzz-order-biz/pom.xml
|
|
[Pipeline] sh
|
|
+ mvn -s .pipelines/jenkins-file/nexus-maven-yhzzv3-test.xml -f yhzz-order/yhzz-order-biz/pom.xml -P test -am -pl com.yunheng:yhzz-order-biz clean package -Dmaven.test.skip=true
|
|
> /usr/bin/git rev-parse --resolve-git-dir /var/jenkins_home/workspace/v3-yhzz-order-biz_test/.pipelines/.git # timeout=10
|
|
> /usr/bin/git config remote.origin.url https://git.yunhengwang.net/cicd/pipeline-files.git # timeout=10
|
|
Fetching upstream changes from https://git.yunhengwang.net/cicd/pipeline-files.git
|
|
> /usr/bin/git --version # timeout=10
|
|
> git --version # 'git version 2.20.1'
|
|
using GIT_ASKPASS to set credentials git.yunhengwang.com
|
|
> /usr/bin/git fetch --tags --force --progress -- https://git.yunhengwang.net/cicd/pipeline-files.git +refs/heads/*:refs/remotes/origin/* # timeout=10
|
|
> /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
|
|
> /usr/bin/git config core.sparsecheckout # timeout=10
|
|
> /usr/bin/git checkout -f 405ec24f243830a7570aeeebd3cdb5cf774626c1 # timeout=10
|
|
[INFO] Scanning for projects...
|
|
[INFO]
|
|
[INFO] ---------------------< com.yunheng:yhzz-order-biz >---------------------
|
|
[INFO] Building yhzz-order-biz 3.0.0
|
|
[INFO] from pom.xml
|
|
[INFO] --------------------------------[ jar ]---------------------------------
|
|
[INFO]
|
|
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ yhzz-order-biz ---
|
|
[INFO] Deleting /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/target
|
|
[INFO]
|
|
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ yhzz-order-biz ---
|
|
[INFO] Using 'UTF-8' encoding to copy filtered resources.
|
|
[INFO] Copying 60 resources
|
|
[INFO] Copying 0 resource
|
|
[INFO]
|
|
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ yhzz-order-biz ---
|
|
[INFO] Changes detected - recompiling the module!
|
|
[INFO] Compiling 289 source files to /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/target/classes
|
|
[WARNING] /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/src/main/java/com/yunheng/yhzz/order/wxpay/WXPayRefundReciver.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
|
|
[WARNING] /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/src/main/java/com/yunheng/yhzz/order/wxpay/WXPayRefundReciver.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
|
|
[WARNING] /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/src/main/java/com/yunheng/yhzz/order/wxpay/WXPayRefundReciver.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
|
|
[WARNING] /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/src/main/java/com/yunheng/yhzz/order/wxpay/WXPayRefundReciver.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
|
|
[WARNING] /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/src/main/java/com/yunheng/yhzz/order/wxpay/WXPayRefundReciver.java:[5,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
|
|
[WARNING] /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/src/main/java/com/yunheng/yhzz/order/wxpay/WXPayRefundReciver.java:[83,46] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
|
|
[INFO] /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/src/main/java/com/yunheng/yhzz/order/handler/ExcelMergeColumnHandler.java: /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/src/main/java/com/yunheng/yhzz/order/handler/ExcelMergeColumnHandler.java uses or overrides a deprecated API.
|
|
[INFO] /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/src/main/java/com/yunheng/yhzz/order/handler/ExcelMergeColumnHandler.java: Recompile with -Xlint:deprecation for details.
|
|
[INFO] /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/src/main/java/com/yunheng/yhzz/order/service/impl/YhOrderDeliveryServiceImpl.java: Some input files use unchecked or unsafe operations.
|
|
[INFO] /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/src/main/java/com/yunheng/yhzz/order/service/impl/YhOrderDeliveryServiceImpl.java: Recompile with -Xlint:unchecked for details.
|
|
[INFO]
|
|
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ yhzz-order-biz ---
|
|
[INFO] Not copying test resources
|
|
[INFO]
|
|
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ yhzz-order-biz ---
|
|
[INFO] Not compiling test sources
|
|
[INFO]
|
|
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ yhzz-order-biz ---
|
|
[INFO] Tests are skipped.
|
|
[INFO]
|
|
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ yhzz-order-biz ---
|
|
[INFO] Building jar: /var/jenkins_home/workspace/v3-yhzz-order-biz_test/yhzz-order/yhzz-order-biz/target/yhzz-order-biz.jar
|
|
[INFO]
|
|
[INFO] --- spring-boot-maven-plugin:2.7.16:repackage (default) @ yhzz-order-biz ---
|
|
[INFO] Replacing main artifact with repackaged archive
|
|
[INFO] ------------------------------------------------------------------------
|
|
[INFO] BUILD SUCCESS
|
|
[INFO] ------------------------------------------------------------------------
|
|
[INFO] Total time: 11.556 s
|
|
[INFO] Finished at: 2025-09-20T15:48:39+08:00
|
|
[INFO] ------------------------------------------------------------------------
|
|
[Pipeline] }
|
|
[Pipeline] // script
|
|
[Pipeline] }
|
|
$ docker stop --time=1 f61d402f2b8069e04bc65f33d653d8938b47004a6b5b886e3441d2eed12c6cbf
|
|
$ docker rm -f --volumes f61d402f2b8069e04bc65f33d653d8938b47004a6b5b886e3441d2eed12c6cbf
|
|
[Pipeline] // withDockerContainer
|
|
[Pipeline] }
|
|
[Pipeline] // node
|
|
[Pipeline] }
|
|
[Pipeline] // stage
|
|
[Pipeline] stage
|
|
[Pipeline] { (Container Build)
|
|
[Pipeline] node
|
|
Running on jiangning-slave02-docker in /var/jenkins_home/workspace/v3-yhzz-order-biz_test
|
|
[Pipeline] {
|
|
[Pipeline] script
|
|
[Pipeline] {
|
|
[Pipeline] echo
|
|
[INFO] standard container build
|
|
[Pipeline] echo
|
|
[INFO] The defaultHub registry is: jnhub.yunhengwang.net
|
|
[Pipeline] echo
|
|
[INFO] The defaultHub registryCredential is: jiangning-hub-credentials
|
|
[Pipeline] echo
|
|
[INFO] The defaultHub registry_project is: yhzzv3
|
|
[Pipeline] sh
|
|
+ docker build -t yhzz-order-biz:test-675 -f docker/Dockerfile --build-arg VAR_BASE_IMAGE=lamefox/jre:8u202-rocky8-dos --build-arg VAR_PROFILE=test --build-arg VAR_PORT=4003 --build-arg VAR_JARFILE_PATH=yhzz-order/yhzz-order-biz/target --build-arg VAR_JARFILE=yhzz-order-biz.jar --build-arg VAR_JAVA_OPTS=-server -Xms256m -Xmx4g -Xss1m .
|
|
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
|
|
Install the buildx component to build images with BuildKit:
|
|
https://docs.docker.com/go/buildx/
|
|
|
|
Sending build context to Docker daemon 245.4MB
|
|
|
|
Step 1/18 : ARG VAR_BASE_IMAGE
|
|
Step 2/18 : ARG VAR_PROFILE
|
|
Step 3/18 : FROM ${VAR_BASE_IMAGE}
|
|
---> 142fae67dcdb
|
|
Step 4/18 : LABEL MAINTAINER="wangqi@yunhengzhizao.com"
|
|
---> Using cache
|
|
---> 5bec5ac491e6
|
|
Step 5/18 : ARG VAR_PORT
|
|
---> Using cache
|
|
---> 4c2a30a6e245
|
|
Step 6/18 : ARG VAR_JARFILE
|
|
---> Using cache
|
|
---> 593c7a224b59
|
|
Step 7/18 : ARG VAR_JARFILE_PATH
|
|
---> Using cache
|
|
---> c460737b4cc0
|
|
Step 8/18 : ARG VAR_JAVA_OPTS
|
|
---> Using cache
|
|
---> 566a2b5bb2df
|
|
Step 9/18 : ARG VAR_PROFILE
|
|
---> Using cache
|
|
---> 1468a9c34746
|
|
Step 10/18 : ENV HOST=0.0.0.0
|
|
---> Using cache
|
|
---> 6f1dd79edb15
|
|
Step 11/18 : ENV PORT=${VAR_PORT}
|
|
---> Running in e26e05f9721f
|
|
Removing intermediate container e26e05f9721f
|
|
---> cc5a3d73cdae
|
|
Step 12/18 : ENV JAVA_OPTS=${VAR_JAVA_OPTS:-"-server -Xms256m -Xmx1g -Xss1m"}
|
|
---> Running in 7d7a7f0da5a6
|
|
Removing intermediate container 7d7a7f0da5a6
|
|
---> f052a20eb669
|
|
Step 13/18 : ENV JARFILE=${VAR_JARFILE}
|
|
---> Running in 067ce0321676
|
|
Removing intermediate container 067ce0321676
|
|
---> 04a9f13188fe
|
|
Step 14/18 : ENV PROFILE=${VAR_PROFILE}
|
|
---> Running in 99c528c97bea
|
|
Removing intermediate container 99c528c97bea
|
|
---> 07bacd0cb3d5
|
|
Step 15/18 : EXPOSE ${PORT}
|
|
---> Running in 7c784b7e6f07
|
|
Removing intermediate container 7c784b7e6f07
|
|
---> 5bee5893179f
|
|
Step 16/18 : WORKDIR /opt/apps
|
|
---> Running in 43637131c2cd
|
|
Removing intermediate container 43637131c2cd
|
|
---> 7d082f3b2db4
|
|
Step 17/18 : COPY ${VAR_JARFILE_PATH}/${VAR_JARFILE} ./
|
|
---> ebc0fce3d825
|
|
Step 18/18 : CMD ["sh", "-c", "java ${JAVA_OPTS} -jar ${JARFILE} --spring.profiles.active=${PROFILE}"]
|
|
---> Running in 0e4e2ef4bd1a
|
|
Removing intermediate container 0e4e2ef4bd1a
|
|
---> 7330e4899f3e
|
|
Successfully built 7330e4899f3e
|
|
Successfully tagged yhzz-order-biz:test-675
|
|
[Pipeline] echo
|
|
{"dev":["default"],"test":["default"],"uat":["acr"],"prod":["acr"]}
|
|
[Pipeline] echo
|
|
["default"]
|
|
[Pipeline] echo
|
|
default
|
|
[Pipeline] echo
|
|
[INFO] The registry hub is default
|
|
[Pipeline] sh
|
|
+ docker tag yhzz-order-biz:test-675 yhzzv3/yhzz-order-biz:test-675
|
|
[Pipeline] withEnv
|
|
[Pipeline] {
|
|
[Pipeline] withDockerRegistry
|
|
$ docker login -u deploy -p ******** https://jnhub.yunhengwang.net
|
|
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
|
|
WARNING! Your password will be stored unencrypted in /var/jenkins_home/workspace/v3-yhzz-order-biz_test@tmp/6fd57479-d0ca-4995-8240-f13adcb16f98/config.json.
|
|
Configure a credential helper to remove this warning. See
|
|
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
|
|
|
|
Login Succeeded
|
|
[Pipeline] {
|
|
[Pipeline] isUnix
|
|
[Pipeline] withEnv
|
|
[Pipeline] {
|
|
[Pipeline] sh
|
|
+ docker tag yhzzv3/yhzz-order-biz:test-675 jnhub.yunhengwang.net/yhzzv3/yhzz-order-biz:test-675
|
|
[Pipeline] }
|
|
[Pipeline] // withEnv
|
|
[Pipeline] isUnix
|
|
[Pipeline] withEnv
|
|
[Pipeline] {
|
|
[Pipeline] sh
|
|
+ docker push jnhub.yunhengwang.net/yhzzv3/yhzz-order-biz:test-675
|
|
The push refers to repository [jnhub.yunhengwang.net/yhzzv3/yhzz-order-biz]
|
|
2f6680cd837c: Preparing
|
|
c52973a1a5e0: Preparing
|
|
db77fcebafe7: Preparing
|
|
1a50de55b916: Preparing
|
|
632b9386947c: Preparing
|
|
1a50de55b916: Layer already exists
|
|
c52973a1a5e0: Layer already exists
|
|
632b9386947c: Layer already exists
|
|
db77fcebafe7: Layer already exists
|
|
2f6680cd837c: Pushed
|
|
test-675: digest: sha256:f978e553f79db14d7afb30487a455044ee6fef1d3fde633f6cf68264b2ad1493 size: 1373
|
|
[Pipeline] }
|
|
[Pipeline] // withEnv
|
|
[Pipeline] }
|
|
[Pipeline] // withDockerRegistry
|
|
[Pipeline] }
|
|
[Pipeline] // withEnv
|
|
[Pipeline] echo
|
|
[INFO] Docker Delete default Image
|
|
[Pipeline] sh
|
|
+ docker rmi yhzzv3/yhzz-order-biz:test-675
|
|
Untagged: yhzzv3/yhzz-order-biz:test-675
|
|
+ docker rmi jnhub.yunhengwang.net/yhzzv3/yhzz-order-biz:test-675
|
|
Untagged: jnhub.yunhengwang.net/yhzzv3/yhzz-order-biz:test-675
|
|
Untagged: jnhub.yunhengwang.net/yhzzv3/yhzz-order-biz@sha256:f978e553f79db14d7afb30487a455044ee6fef1d3fde633f6cf68264b2ad1493
|
|
[Pipeline] echo
|
|
[INFO] Docker Delete Image
|
|
[Pipeline] sh
|
|
+ docker rmi yhzz-order-biz:test-675
|
|
Untagged: yhzz-order-biz:test-675
|
|
Deleted: sha256:7330e4899f3e5127dd5bdded7ab76ebb008f88df2dd3f9d38e1f2e1aa4ea23c8
|
|
Deleted: sha256:ebc0fce3d825dbae8e6b049a34fefa5ea3129b7ab9693bdd17053054bbfd116d
|
|
Deleted: sha256:76ae5ef56e2bd24dd9e61e845fac30eb0150cc18b1761ee698d9ef2af8301ea2
|
|
Deleted: sha256:7d082f3b2db41e78d58f7430973cc6db1a9eb19d46edde21152e0a7e2e545a2d
|
|
Deleted: sha256:5bee5893179f5ac48c998e51816da6be8ff57e46f35aa53383fd1314619fc100
|
|
Deleted: sha256:07bacd0cb3d571cfa726bbd2a92e4f31f01a6362867612c6a0b70982c3cb3e66
|
|
Deleted: sha256:04a9f13188febb58a19b4f3f8a08542916c64f86bbf23fa659e80c9a9a982069
|
|
Deleted: sha256:f052a20eb669268a763c0f0f67b95ecafde503b0447e3f652f3d643908807791
|
|
Deleted: sha256:cc5a3d73cdae27ff991be789c936f7088838c744380365df14aa2cac373ebf34
|
|
[Pipeline] }
|
|
[Pipeline] // script
|
|
[Pipeline] }
|
|
[Pipeline] // node
|
|
[Pipeline] }
|
|
[Pipeline] // stage
|
|
[Pipeline] stage
|
|
[Pipeline] { (Deploy)
|
|
[Pipeline] node
|
|
Running on jiangning-slave02-docker in /var/jenkins_home/workspace/v3-yhzz-order-biz_test
|
|
[Pipeline] {
|
|
[Pipeline] withEnv
|
|
[Pipeline] {
|
|
[Pipeline] script
|
|
[Pipeline] {
|
|
[Pipeline] echo
|
|
[INFO] standard docker compose deploy
|
|
[Pipeline] echo
|
|
jenkins-ssh-152
|
|
[Pipeline] echo
|
|
deployServerIP type: org.codehaus.groovy.runtime.GStringImpl
|
|
[Pipeline] echo
|
|
root@192.168.124.126
|
|
[Pipeline] sshagent
|
|
[ssh-agent] Using credentials root (jenkins-ssh-152)
|
|
[ssh-agent] Looking for ssh-agent implementation...
|
|
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
|
|
$ ssh-agent
|
|
SSH_AUTH_SOCK=/tmp/ssh-OqZNXx2Yid6P/agent.142521
|
|
SSH_AGENT_PID=142523
|
|
Running ssh-add (command line suppressed)
|
|
Identity added: /var/jenkins_home/workspace/v3-yhzz-order-biz_test@tmp/private_key_3303668459101437157.key (root@jn-yunheng-master01)
|
|
[ssh-agent] Started.
|
|
[Pipeline] {
|
|
[Pipeline] sh
|
|
+ scp -o StrictHostKeyChecking=no .pipelines/scripts/deploy_env.sh root@192.168.124.126:/data/apps/yhsc/
|
|
+ scp -o StrictHostKeyChecking=no .pipelines/scripts/docker-env-test.sh root@192.168.124.126:/data/apps/yhsc/.env
|
|
+ ssh -o StrictHostKeyChecking=no root@192.168.124.126 cd /data/apps/yhsc; sh ./deploy_env.sh deploy yhzz-order-biz test-675
|
|
----------------
|
|
Pull Image
|
|
----------------
|
|
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
|
|
Configure a credential helper to remove this warning. See
|
|
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
|
|
|
|
Login Succeeded
|
|
Error response from daemon: unknown: artifact yhzz/yhzz-order-biz:test-675 not found
|
|
|
|
----------------
|
|
Delete Image
|
|
----------------
|
|
81e8e527cbc54f58defda8036a5bc799b300b2fa040278a8dfdd1d903d999c81
|
|
81e8e527cbc54f58defda8036a5bc799b300b2fa040278a8dfdd1d903d999c81
|
|
Untagged: jnhub.yunhengwang.net/yhzzv3/yhzz-order-biz:test-674
|
|
Untagged: jnhub.yunhengwang.net/yhzzv3/yhzz-order-biz@sha256:b150d04833da78e801cbbdec2b17d2fb01408b4ba8d9c6eef6c8fb08dbbd32db
|
|
Deleted: sha256:900537ba5c4856c7ad99087b798081fab117150395301a7eb74059ed2945c33b
|
|
Deleted: sha256:b5c15eec8bfb027978b57e91d154b11391650f6f26a6706ed7eff3c491f5ee19
|
|
|
|
----------------
|
|
Deploy Image
|
|
----------------
|
|
yhzz-order-biz Pulling
|
|
ff6ed60c2171 Already exists
|
|
c7b9e7473281 Already exists
|
|
7b1b77d781a8 Already exists
|
|
14ef921e8229 Already exists
|
|
76d331e0635d Pulling fs layer
|
|
76d331e0635d Downloading [> ] 539.7kB/145.4MB
|
|
76d331e0635d Downloading [===> ] 11.35MB/145.4MB
|
|
76d331e0635d Downloading [=======> ] 23.25MB/145.4MB
|
|
76d331e0635d Downloading [============> ] 35.14MB/145.4MB
|
|
76d331e0635d Downloading [================> ] 47.04MB/145.4MB
|
|
76d331e0635d Downloading [====================> ] 58.93MB/145.4MB
|
|
76d331e0635d Downloading [========================> ] 70.83MB/145.4MB
|
|
76d331e0635d Downloading [============================> ] 82.72MB/145.4MB
|
|
76d331e0635d Downloading [================================> ] 94.62MB/145.4MB
|
|
76d331e0635d Downloading [====================================> ] 106.5MB/145.4MB
|
|
76d331e0635d Downloading [========================================> ] 118.4MB/145.4MB
|
|
76d331e0635d Downloading [============================================> ] 130.3MB/145.4MB
|
|
76d331e0635d Downloading [================================================> ] 142.2MB/145.4MB
|
|
76d331e0635d Verifying Checksum
|
|
76d331e0635d Download complete
|
|
76d331e0635d Extracting [> ] 557.1kB/145.4MB
|
|
76d331e0635d Extracting [======> ] 19.5MB/145.4MB
|
|
76d331e0635d Extracting [============> ] 37.32MB/145.4MB
|
|
76d331e0635d Extracting [==================> ] 55.15MB/145.4MB
|
|
76d331e0635d Extracting [=========================> ] 72.97MB/145.4MB
|
|
76d331e0635d Extracting [===============================> ] 90.8MB/145.4MB
|
|
76d331e0635d Extracting [=====================================> ] 109.2MB/145.4MB
|
|
76d331e0635d Extracting [===========================================> ] 127.6MB/145.4MB
|
|
76d331e0635d Extracting [=================================================> ] 144.8MB/145.4MB
|
|
76d331e0635d Extracting [==================================================>] 145.4MB/145.4MB
|
|
76d331e0635d Extracting [==================================================>] 145.4MB/145.4MB
|
|
76d331e0635d Pull complete
|
|
yhzz-order-biz Pulled
|
|
Container yhzz-order-biz Creating
|
|
Container yhzz-order-biz Created
|
|
Container yhzz-order-biz Starting
|
|
Container yhzz-order-biz Started
|
|
|
|
[Pipeline] }
|
|
$ ssh-agent -k
|
|
unset SSH_AUTH_SOCK;
|
|
unset SSH_AGENT_PID;
|
|
echo Agent pid 142523 killed;
|
|
[ssh-agent] Stopped.
|
|
[Pipeline] // sshagent
|
|
[Pipeline] }
|
|
[Pipeline] // script
|
|
[Pipeline] }
|
|
[Pipeline] // withEnv
|
|
[Pipeline] }
|
|
[Pipeline] // node
|
|
[Pipeline] }
|
|
[Pipeline] // stage
|
|
[Pipeline] stage
|
|
[Pipeline] { (UAT Deploy)
|
|
[Pipeline] node
|
|
Running on jiangning-slave02-docker in /var/jenkins_home/workspace/v3-yhzz-order-biz_test
|
|
[Pipeline] {
|
|
[Pipeline] }
|
|
[Pipeline] // node
|
|
Stage "UAT Deploy" skipped due to when conditional
|
|
[Pipeline] getContext
|
|
[Pipeline] }
|
|
[Pipeline] // stage
|
|
[Pipeline] }
|
|
[Pipeline] // withEnv
|
|
[Pipeline] }
|
|
[Pipeline] // node
|
|
[Pipeline] End of Pipeline
|
|
|
|
[钉钉插件]当前任务未配置机器人,已跳过
|
|
[Gitea] Notifying branch build status: SUCCESS This commit looks good
|
|
[Gitea] Notified
|
|
Finished: SUCCESS
|