【jenkins系列】jenkins pipeline实现wrapper程序部署自动化

jenkins版本

pipeline涉及的版本

  • jdk版本: 1.8.0_161
  • apache-maven: 3.9.0
  • jenkins ssh agent plugin
  • jenkins git plugin

pipeline如下

pipeline{
environment{
branch_version='2.0.0'
}
agent {
label '172_11'
}
triggers {
pollSCM ("H/5 * * * *")
}
tools {
// 指定JDK版本
jdk 'jdk8'
}
stages {
stage('checkout') {
steps {
checkout scmGit(branches: [[name: '*/mc_2.0.0']], extensions: [], userRemoteConfigs: [[credentialsId: '账号id', url: 'git仓库地址']])
}

}
stage('Build') {
steps {
// 设置环境变量
withEnv(['JAVA_HOME=/usr/lib/jdk1.8.0_161', 'PATH+JAVA=$JAVA_HOME/bin']) {
// 执行编译命令
sh 'mvn clean install \'-Dmaven.test.skip\''
}
}
post {
// If Maven was able to run the tests, even if some of the test
// failed, record the test results and archive the jar file.
success {
qyWechatNotification mentionedId: '', mentionedMobile: '', moreInfo: '', webhookUrl: 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=生成的key'

}
}
}
stage('deploy'){
steps{

sshagent (credentials: ['bbs_rsa_private_key']) {
script {
env.WORKSPACE2 = pwd()
}
//调试,打印所有env变量
sh "printenv | sort"
sh 'cd ${WORKSPACE2}'
sh 'cd `pwd`'
sh 'scp ./msgcenter_server/target/lib/* bbs@目标机器id:/data/server/bbs/mc_deploy/lib'
sh 'scp ./msgcenter_server/target/msgcenter-server-2.0.0.RELEASE-without-configs.jar bbs@目标机器id:/data/server/bbs/mc_deploy/lib'
sh 'ssh -o StrictHostKeyChecking=no -l bbs 目标机器id /data/server/bbs/mc_deploy/bin/server.sh restart &'
}

}
post {
// If Maven was able to run the tests, even if some of the test
// failed, record the test results and archive the jar file.
success {
script {
def duration = currentBuild.durationString
def splitDuration = duration.split("and counting")[0]
//def eventCause=currentBuild.getBuildCauses('hudson.model.Cause$UserIdCause')
def message ="<font color='green'>【 ${env.JOB_NAME} 】部署${currentBuild.currentResult}~😄</font> <@企业微信用户id> \n > 构建号码: ${env.BUILD_NUMBER} \n > 持续时间: ${splitDuration} \n > 执行人: ${currentBuild.buildCauses.shortDescription} \n > 部署分支: ${env.branch_version} \n > 部署ip: 目标机器id \n > 部署路径:/data/server/bbs/mc_deploy \n > [查看控制台]: ${env.BUILD_URL} "
sh "curl -X POST -H 'Content-Type: application/json' -d '{\"msgtype\": \"markdown\", \"markdown\": {\"content\": \"${message}\"}}' https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=生成的key"
}
}
}
}
}
}

执行效果

由用户 admin 启动
[Pipeline] Start of Pipeline
[Pipeline] node
Running on 172_11 in /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] checkout
The recommended git tool is: NONE
using credential peter_liu
Fetching changes from the remote Git repository
Checking out Revision c5126f509f29eeeb05b90d3f24a6c51c80da0815 (refs/remotes/origin/mc_2.0.0)
Commit message: "修改pom.xml"
> git rev-parse --resolve-git-dir /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/.git # timeout=10
> git config remote.origin.url http://项目git地址 # timeout=10
Fetching upstream changes from http://项目git地址
> git --version # timeout=10
> git --version # 'git version 1.8.3.1'
using GIT_ASKPASS to set credentials 用户@公司名称.com
> git fetch --tags --progress http://项目git地址 +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/mc_2.0.0^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f c5126f509f29eeeb05b90d3f24a6c51c80da0815 # timeout=10
> git rev-list --no-walk c5126f509f29eeeb05b90d3f24a6c51c80da0815 # timeout=10
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ mvn clean install -Dmaven.test.skip
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] msgcenter [pom]
[INFO] msgcenter-common [jar]
[INFO] msgcenter-thrift [jar]
[INFO] msgcenter-remote [jar]
[INFO] msgcenter-server [jar]
[INFO]
[INFO] ---------------------< 公司名称:msgcenter >----------------------
[INFO] Building msgcenter 2.0.0.RELEASE [1/5]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ msgcenter ---
[INFO]
[INFO] --- install:2.5.2:install (default-install) @ msgcenter ---
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/pom.xml to /data/jenkins/mavenlib/公司名称/msgcenter/2.0.0.RELEASE/msgcenter-2.0.0.RELEASE.pom
[INFO]
[INFO] ------------------< 公司名称:msgcenter-common >------------------
[INFO] Building msgcenter-common 2.0.0.RELEASE [2/5]
[INFO] from msgcenter_common/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] Parameter 'parameters' is unknown for plugin 'maven-compiler-plugin:2.3.2:compile (default-compile)'
[WARNING] Parameter 'parameters' is unknown for plugin 'maven-compiler-plugin:2.3.2:testCompile (default-testCompile)'
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ msgcenter-common ---
[INFO] Deleting /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_common/target
[INFO]
[INFO] --- resources:3.1.0:resources (default-resources) @ msgcenter-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_common/src/main/resources
[INFO] skip non existing resourceDirectory /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_common/src/main/resources
[INFO]
[INFO] --- compiler:2.3.2:compile (default-compile) @ msgcenter-common ---
[INFO] Compiling 119 source files to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_common/target/classes
[INFO]
[INFO] --- resources:3.1.0:testResources (default-testResources) @ msgcenter-common ---
[INFO] Not copying test resources
[INFO]
[INFO] --- compiler:2.3.2:testCompile (default-testCompile) @ msgcenter-common ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- surefire:2.22.2:test (default-test) @ msgcenter-common ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- jar:3.1.2:jar (default-jar) @ msgcenter-common ---
[INFO] Building jar: /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_common/target/msgcenter-common-2.0.0.RELEASE.jar
[INFO]
[INFO] >>> source:3.1.0:jar (attach-sources) > generate-sources @ msgcenter-common >>>
[INFO]
[INFO] <<< source:3.1.0:jar (attach-sources) < generate-sources @ msgcenter-common <<<
[INFO]
[INFO]
[INFO] --- source:3.1.0:jar (attach-sources) @ msgcenter-common ---
[INFO] Building jar: /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_common/target/msgcenter-common-2.0.0.RELEASE-sources.jar
[INFO]
[INFO] --- install:2.5.2:install (default-install) @ msgcenter-common ---
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_common/target/msgcenter-common-2.0.0.RELEASE.jar to /data/jenkins/mavenlib/公司名称/msgcenter-common/2.0.0.RELEASE/msgcenter-common-2.0.0.RELEASE.jar
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_common/pom.xml to /data/jenkins/mavenlib/公司名称/msgcenter-common/2.0.0.RELEASE/msgcenter-common-2.0.0.RELEASE.pom
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_common/target/msgcenter-common-2.0.0.RELEASE-sources.jar to /data/jenkins/mavenlib/公司名称/msgcenter-common/2.0.0.RELEASE/msgcenter-common-2.0.0.RELEASE-sources.jar
[INFO]
[INFO] ------------------< 公司名称:msgcenter-thrift >------------------
[INFO] Building msgcenter-thrift 2.0.0.RELEASE [3/5]
[INFO] from msgcenter_thrift/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] Parameter 'parameters' is unknown for plugin 'maven-compiler-plugin:2.3.2:compile (default-compile)'
[WARNING] Parameter 'parameters' is unknown for plugin 'maven-compiler-plugin:2.3.2:testCompile (default-testCompile)'
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ msgcenter-thrift ---
[INFO] Deleting /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_thrift/target
[INFO]
[INFO] --- thrift:0.1.11:compile (thrift-sources) @ msgcenter-thrift ---
[INFO]
[INFO] --- resources:3.1.0:resources (default-resources) @ msgcenter-thrift ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_thrift/src/main/resources
[INFO] skip non existing resourceDirectory /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_thrift/src/main/resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- compiler:2.3.2:compile (default-compile) @ msgcenter-thrift ---
[INFO] Compiling 18 source files to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_thrift/target/classes
[INFO]
[INFO] --- thrift:0.1.11:testCompile (thrift-test-sources) @ msgcenter-thrift ---
[INFO] /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_thrift/src/test/thrift does not exist. Review the configuration or consider disabling the plugin.
[INFO]
[INFO] --- resources:3.1.0:testResources (default-testResources) @ msgcenter-thrift ---
[INFO] Not copying test resources
[INFO]
[INFO] --- compiler:2.3.2:testCompile (default-testCompile) @ msgcenter-thrift ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- surefire:2.22.2:test (default-test) @ msgcenter-thrift ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- jar:3.1.2:jar (default-jar) @ msgcenter-thrift ---
[INFO] Building jar: /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_thrift/target/msgcenter-thrift-2.0.0.RELEASE.jar
[INFO]
[INFO] >>> source:3.1.0:jar (attach-sources) > generate-sources @ msgcenter-thrift >>>
[INFO]
[INFO] --- thrift:0.1.11:compile (thrift-sources) @ msgcenter-thrift ---
[INFO]
[INFO] <<< source:3.1.0:jar (attach-sources) < generate-sources @ msgcenter-thrift <<<
[INFO]
[INFO]
[INFO] --- source:3.1.0:jar (attach-sources) @ msgcenter-thrift ---
[INFO] Building jar: /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_thrift/target/msgcenter-thrift-2.0.0.RELEASE-sources.jar
[INFO]
[INFO] --- install:2.5.2:install (default-install) @ msgcenter-thrift ---
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_thrift/target/msgcenter-thrift-2.0.0.RELEASE.jar to /data/jenkins/mavenlib/公司名称/msgcenter-thrift/2.0.0.RELEASE/msgcenter-thrift-2.0.0.RELEASE.jar
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_thrift/pom.xml to /data/jenkins/mavenlib/公司名称/msgcenter-thrift/2.0.0.RELEASE/msgcenter-thrift-2.0.0.RELEASE.pom
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_thrift/target/msgcenter-thrift-2.0.0.RELEASE-sources.jar to /data/jenkins/mavenlib/公司名称/msgcenter-thrift/2.0.0.RELEASE/msgcenter-thrift-2.0.0.RELEASE-sources.jar
[INFO]
[INFO] ------------------< 公司名称:msgcenter-remote >------------------
[INFO] Building msgcenter-remote 2.0.0.RELEASE [4/5]
[INFO] from msgcenter_remote/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ msgcenter-remote ---
[INFO] Deleting /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_remote/target
[INFO]
[INFO] --- resources:3.1.0:resources (default-resources) @ msgcenter-remote ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_remote/src/main/resources
[INFO] skip non existing resourceDirectory /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_remote/src/main/resources
[INFO]
[INFO] --- compiler:3.8.1:compile (default-compile) @ msgcenter-remote ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_remote/target/classes
[INFO]
[INFO] --- resources:3.1.0:testResources (default-testResources) @ msgcenter-remote ---
[INFO] Not copying test resources
[INFO]
[INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ msgcenter-remote ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- surefire:2.22.2:test (default-test) @ msgcenter-remote ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- jar:3.1.2:jar (default-jar) @ msgcenter-remote ---
[INFO] Building jar: /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_remote/target/msgcenter-remote-2.0.0.RELEASE.jar
[INFO]
[INFO] --- install:2.5.2:install (default-install) @ msgcenter-remote ---
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_remote/target/msgcenter-remote-2.0.0.RELEASE.jar to /data/jenkins/mavenlib/公司名称/msgcenter-remote/2.0.0.RELEASE/msgcenter-remote-2.0.0.RELEASE.jar
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_remote/pom.xml to /data/jenkins/mavenlib/公司名称/msgcenter-remote/2.0.0.RELEASE/msgcenter-remote-2.0.0.RELEASE.pom
[INFO]
[INFO] ------------------< 公司名称:msgcenter-server >------------------
[INFO] Building msgcenter-server 2.0.0.RELEASE [5/5]
[INFO] from msgcenter_server/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] Parameter 'parameters' is unknown for plugin 'maven-compiler-plugin:3.5.1:compile (default-compile)'
[WARNING] Parameter 'parameters' is unknown for plugin 'maven-compiler-plugin:3.5.1:testCompile (default-testCompile)'
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ msgcenter-server ---
[INFO] Deleting /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target
[INFO]
[INFO] --- jacoco:0.7.8:prepare-agent (pre-test) @ msgcenter-server ---
[INFO] argLine set to -javaagent:/data/jenkins/mavenlib/org/jacoco/org.jacoco.agent/0.7.8/org.jacoco.agent-0.7.8-runtime.jar=destfile=/data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/jacoco.exec
[INFO]
[INFO] --- resources:3.1.0:resources (default-resources) @ msgcenter-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 28 resources
[INFO] Copying 0 resource
[INFO]
[INFO] --- compiler:3.5.1:compile (default-compile) @ msgcenter-server ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 123 source files to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/classes
[INFO] /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/src/main/java/com/公司名称/msgcenter/config/RedisConfig.java: /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/src/main/java/com/公司名称/msgcenter/config/RedisConfig.java uses or overrides a deprecated API.
[INFO] /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/src/main/java/com/公司名称/msgcenter/config/RedisConfig.java: Recompile with -Xlint:deprecation for details.
[INFO] /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/src/main/java/com/公司名称/msgcenter/controller/IdentifyCodeMessageController.java: Some input files use unchecked or unsafe operations.
[INFO] /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/src/main/java/com/公司名称/msgcenter/controller/IdentifyCodeMessageController.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- resources:3.1.0:testResources (default-testResources) @ msgcenter-server ---
[INFO] Not copying test resources
[INFO]
[INFO] --- compiler:3.5.1:testCompile (default-testCompile) @ msgcenter-server ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- surefire:2.22.2:test (default-test) @ msgcenter-server ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- jacoco:0.7.8:report (post-test) @ msgcenter-server ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- jar:2.3:jar (default-jar) @ msgcenter-server ---
[INFO] Building jar: /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/msgcenter-server-2.0.0.RELEASE.jar
[INFO]
[INFO] --- dependency:3.1.2:copy-dependencies (default) @ msgcenter-server ---
[INFO] Copying jtils-0.0.2.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jtils-0.0.2.jar
[INFO] Copying impc-common-1.3.0.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/impc-common-1.3.0.RELEASE.jar
[INFO] Copying msgcenter-common-2.0.0.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/msgcenter-common-2.0.0.RELEASE.jar
[INFO] Copying libthrift-0.9.2.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/libthrift-0.9.2.jar
[INFO] Copying commons-logging-1.2.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/commons-logging-1.2.jar
[INFO] Copying commons-lang-2.6.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/commons-lang-2.6.jar
[INFO] Copying commons-lang3-3.9.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/commons-lang3-3.9.jar
[INFO] Copying spring-boot-starter-validation-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-boot-starter-validation-2.2.10.RELEASE.jar
[INFO] Copying jakarta.validation-api-2.0.2.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jakarta.validation-api-2.0.2.jar
[INFO] Copying tomcat-embed-el-9.0.38.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/tomcat-embed-el-9.0.38.jar
[INFO] Copying hibernate-validator-6.0.20.Final.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/hibernate-validator-6.0.20.Final.jar
[INFO] Copying jboss-logging-3.4.1.Final.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jboss-logging-3.4.1.Final.jar
[INFO] Copying json-lib-2.2.3-jdk15.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/json-lib-2.2.3-jdk15.jar
[INFO] Copying commons-beanutils-1.7.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/commons-beanutils-1.7.0.jar
[INFO] Copying commons-collections-3.2.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/commons-collections-3.2.jar
[INFO] Copying ezmorph-1.0.6.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/ezmorph-1.0.6.jar
[INFO] Copying msgcenter-thrift-2.0.0.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/msgcenter-thrift-2.0.0.RELEASE.jar
[INFO] Copying javax.annotation-api-1.3.2.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/javax.annotation-api-1.3.2.jar
[INFO] Copying guava-20.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/guava-20.0.jar
[INFO] Copying msgcenter-remote-2.0.0.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/msgcenter-remote-2.0.0.RELEASE.jar
[INFO] Copying json-20170516.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/json-20170516.jar
[INFO] Copying gson-2.8.6.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/gson-2.8.6.jar
[INFO] Copying commons-codec-1.13.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/commons-codec-1.13.jar
[INFO] Copying fluent-hc-4.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/fluent-hc-4.5.jar
[INFO] Copying qcloudsms-1.0.6.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/qcloudsms-1.0.6.jar
[INFO] Copying httpmime-4.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/httpmime-4.5.jar
[INFO] Copying tencentcloud-sdk-java-3.1.194.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/tencentcloud-sdk-java-3.1.194.jar
[INFO] Copying jaxb-api-2.3.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jaxb-api-2.3.1.jar
[INFO] Copying javax.activation-api-1.2.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/javax.activation-api-1.2.0.jar
[INFO] Copying logging-interceptor-2.7.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/logging-interceptor-2.7.5.jar
[INFO] Copying yunpian-java-sdk-1.2.4.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/yunpian-java-sdk-1.2.4.jar
[INFO] Copying httpasyncclient-4.1.4.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/httpasyncclient-4.1.4.jar
[INFO] Copying httpcore-nio-4.4.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/httpcore-nio-4.4.5.jar
[INFO] Copying httpasyncclient-cache-4.1.2.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/httpasyncclient-cache-4.1.2.jar
[INFO] Copying httpclient-cache-4.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/httpclient-cache-4.5.jar
[INFO] Copying aliyun-java-sdk-core-4.5.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/aliyun-java-sdk-core-4.5.0.jar
[INFO] Copying org.jacoco.agent-0.8.5-runtime.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/org.jacoco.agent-0.8.5-runtime.jar
[INFO] Copying ini4j-0.5.4.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/ini4j-0.5.4.jar
[INFO] Copying opentracing-api-0.33.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/opentracing-api-0.33.0.jar
[INFO] Copying opentracing-util-0.33.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/opentracing-util-0.33.0.jar
[INFO] Copying opentracing-noop-0.33.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/opentracing-noop-0.33.0.jar
[INFO] Copying httpcore-4.4.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/httpcore-4.4.5.jar
[INFO] Copying httpclient-4.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/httpclient-4.5.jar
[INFO] Copying okio-1.12.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/okio-1.12.0.jar
[INFO] Copying okhttp-2.7.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/okhttp-2.7.5.jar
[INFO] Copying junit-4.9.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/junit-4.9.jar
[INFO] Copying hamcrest-core-2.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/hamcrest-core-2.1.jar
[INFO] Copying hamcrest-2.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/hamcrest-2.1.jar
[INFO] Copying classworlds-1.1-alpha-2.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/classworlds-1.1-alpha-2.jar
[INFO] Copying fastjson-1.2.70.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/fastjson-1.2.70.jar
[INFO] Copying mysql-connector-java-5.1.30.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/mysql-connector-java-5.1.30.jar
[INFO] Copying javax.servlet-api-3.1.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/javax.servlet-api-3.1.0.jar
[INFO] Copying quartz-2.3.2.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/quartz-2.3.2.jar
[INFO] Copying mchange-commons-java-0.2.15.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/mchange-commons-java-0.2.15.jar
[INFO] Copying aspectjrt-1.9.6.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/aspectjrt-1.9.6.jar
[INFO] Copying aspectjweaver-1.9.6.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/aspectjweaver-1.9.6.jar
[INFO] Copying commons-io-2.4.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/commons-io-2.4.jar
[INFO] Copying commons-pool2-2.11.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/commons-pool2-2.11.1.jar
[INFO] Copying mail-1.4.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/mail-1.4.1.jar
[INFO] Copying activation-1.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/activation-1.1.jar
[INFO] Copying ErrorLogMonitor-1.0.1.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/ErrorLogMonitor-1.0.1.RELEASE.jar
[INFO] Copying protobuf-java-2.4.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/protobuf-java-2.4.1.jar
[INFO] Copying xstream-1.3.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/xstream-1.3.1.jar
[INFO] Copying xpp3_min-1.1.4c.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/xpp3_min-1.1.4c.jar
[INFO] Copying logback-classic-1.2.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/logback-classic-1.2.0.jar
[INFO] Copying logback-core-1.2.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/logback-core-1.2.0.jar
[INFO] Copying ump-2.4.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/ump-2.4.jar
[INFO] Copying commons-pool-1.6.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/commons-pool-1.6.jar
[INFO] Copying sdk_java-2.6.3.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/sdk_java-2.6.3.jar
[INFO] Copying slf4j-api-1.7.30.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/slf4j-api-1.7.30.jar
[INFO] Copying mybatis-3.4.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/mybatis-3.4.0.jar
[INFO] Copying mybatis-spring-1.3.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/mybatis-spring-1.3.0.jar
[INFO] Copying mybatis-spring-boot-starter-1.1.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/mybatis-spring-boot-starter-1.1.1.jar
[INFO] Copying mybatis-spring-boot-autoconfigure-1.1.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/mybatis-spring-boot-autoconfigure-1.1.1.jar
[INFO] Copying spring-boot-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-boot-2.2.10.RELEASE.jar
[INFO] Copying spring-boot-starter-jdbc-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-boot-starter-jdbc-2.2.10.RELEASE.jar
[INFO] Copying HikariCP-3.4.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/HikariCP-3.4.5.jar
[INFO] Copying spring-jdbc-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-jdbc-5.2.9.RELEASE.jar
[INFO] Copying druid-spring-boot-starter-1.1.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/druid-spring-boot-starter-1.1.0.jar
[INFO] Copying druid-1.1.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/druid-1.1.0.jar
[INFO] Copying spring-boot-autoconfigure-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-boot-autoconfigure-2.2.10.RELEASE.jar
[INFO] Copying simpleclient-0.9.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/simpleclient-0.9.0.jar
[INFO] Copying simpleclient_hotspot-0.9.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/simpleclient_hotspot-0.9.0.jar
[INFO] Copying simpleclient_servlet-0.9.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/simpleclient_servlet-0.9.0.jar
[INFO] Copying simpleclient_common-0.9.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/simpleclient_common-0.9.0.jar
[INFO] Copying spring-boot-starter-aop-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-boot-starter-aop-2.2.10.RELEASE.jar
[INFO] Copying spring-boot-starter-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-boot-starter-2.2.10.RELEASE.jar
[INFO] Copying spring-boot-starter-logging-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-boot-starter-logging-2.2.10.RELEASE.jar
[INFO] Copying log4j-to-slf4j-2.12.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/log4j-to-slf4j-2.12.1.jar
[INFO] Copying log4j-api-2.12.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/log4j-api-2.12.1.jar
[INFO] Copying jul-to-slf4j-1.7.30.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jul-to-slf4j-1.7.30.jar
[INFO] Copying jakarta.annotation-api-1.3.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jakarta.annotation-api-1.3.5.jar
[INFO] Copying snakeyaml-1.25.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/snakeyaml-1.25.jar
[INFO] Copying spring-aop-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-aop-5.2.9.RELEASE.jar
[INFO] Copying spring-context-support-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-context-support-5.2.9.RELEASE.jar
[INFO] Copying spring-beans-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-beans-5.2.9.RELEASE.jar
[INFO] Copying spring-context-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-context-5.2.9.RELEASE.jar
[INFO] Copying spring-expression-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-expression-5.2.9.RELEASE.jar
[INFO] Copying spring-core-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-core-5.2.9.RELEASE.jar
[INFO] Copying spring-jcl-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-jcl-5.2.9.RELEASE.jar
[INFO] Copying spring-cloud-context-2.1.2.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-cloud-context-2.1.2.RELEASE.jar
[INFO] Copying spring-security-crypto-5.2.6.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-security-crypto-5.2.6.RELEASE.jar
[INFO] Copying lombok-1.18.24.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/lombok-1.18.24.jar
[INFO] Copying spring-boot-starter-web-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-boot-starter-web-2.2.10.RELEASE.jar
[INFO] Copying spring-boot-starter-json-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-boot-starter-json-2.2.10.RELEASE.jar
[INFO] Copying jackson-databind-2.10.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jackson-databind-2.10.5.jar
[INFO] Copying jackson-core-2.10.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jackson-core-2.10.5.jar
[INFO] Copying jackson-datatype-jdk8-2.10.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jackson-datatype-jdk8-2.10.5.jar
[INFO] Copying jackson-datatype-jsr310-2.10.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jackson-datatype-jsr310-2.10.5.jar
[INFO] Copying jackson-module-parameter-names-2.10.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jackson-module-parameter-names-2.10.5.jar
[INFO] Copying spring-web-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-web-5.2.9.RELEASE.jar
[INFO] Copying spring-webmvc-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-webmvc-5.2.9.RELEASE.jar
[INFO] Copying spring-boot-starter-jetty-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-boot-starter-jetty-2.2.10.RELEASE.jar
[INFO] Copying jakarta.servlet-api-4.0.4.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jakarta.servlet-api-4.0.4.jar
[INFO] Copying jakarta.websocket-api-1.1.2.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jakarta.websocket-api-1.1.2.jar
[INFO] Copying jetty-servlets-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-servlets-9.4.31.v20200723.jar
[INFO] Copying jetty-continuation-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-continuation-9.4.31.v20200723.jar
[INFO] Copying jetty-http-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-http-9.4.31.v20200723.jar
[INFO] Copying jetty-util-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-util-9.4.31.v20200723.jar
[INFO] Copying jetty-io-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-io-9.4.31.v20200723.jar
[INFO] Copying jetty-webapp-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-webapp-9.4.31.v20200723.jar
[INFO] Copying jetty-xml-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-xml-9.4.31.v20200723.jar
[INFO] Copying jetty-servlet-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-servlet-9.4.31.v20200723.jar
[INFO] Copying jetty-security-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-security-9.4.31.v20200723.jar
[INFO] Copying jetty-server-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-server-9.4.31.v20200723.jar
[INFO] Copying websocket-server-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/websocket-server-9.4.31.v20200723.jar
[INFO] Copying websocket-common-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/websocket-common-9.4.31.v20200723.jar
[INFO] Copying websocket-api-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/websocket-api-9.4.31.v20200723.jar
[INFO] Copying websocket-client-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/websocket-client-9.4.31.v20200723.jar
[INFO] Copying jetty-client-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-client-9.4.31.v20200723.jar
[INFO] Copying websocket-servlet-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/websocket-servlet-9.4.31.v20200723.jar
[INFO] Copying javax-websocket-server-impl-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/javax-websocket-server-impl-9.4.31.v20200723.jar
[INFO] Copying jetty-annotations-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-annotations-9.4.31.v20200723.jar
[INFO] Copying jetty-plus-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jetty-plus-9.4.31.v20200723.jar
[INFO] Copying asm-7.3.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/asm-7.3.1.jar
[INFO] Copying asm-commons-7.3.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/asm-commons-7.3.1.jar
[INFO] Copying asm-tree-7.3.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/asm-tree-7.3.1.jar
[INFO] Copying asm-analysis-7.3.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/asm-analysis-7.3.1.jar
[INFO] Copying javax-websocket-client-impl-9.4.31.v20200723.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/javax-websocket-client-impl-9.4.31.v20200723.jar
[INFO] Copying apache-el-8.5.54.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/apache-el-8.5.54.jar
[INFO] Copying spring-boot-starter-data-redis-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-boot-starter-data-redis-2.2.10.RELEASE.jar
[INFO] Copying spring-data-redis-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-data-redis-2.2.10.RELEASE.jar
[INFO] Copying spring-data-keyvalue-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-data-keyvalue-2.2.10.RELEASE.jar
[INFO] Copying spring-data-commons-2.2.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-data-commons-2.2.10.RELEASE.jar
[INFO] Copying spring-tx-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-tx-5.2.9.RELEASE.jar
[INFO] Copying spring-oxm-5.2.9.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-oxm-5.2.9.RELEASE.jar
[INFO] Copying lettuce-core-5.2.2.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/lettuce-core-5.2.2.RELEASE.jar
[INFO] Copying netty-common-4.1.52.Final.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/netty-common-4.1.52.Final.jar
[INFO] Copying netty-handler-4.1.52.Final.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/netty-handler-4.1.52.Final.jar
[INFO] Copying netty-resolver-4.1.52.Final.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/netty-resolver-4.1.52.Final.jar
[INFO] Copying netty-buffer-4.1.52.Final.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/netty-buffer-4.1.52.Final.jar
[INFO] Copying netty-codec-4.1.52.Final.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/netty-codec-4.1.52.Final.jar
[INFO] Copying netty-transport-4.1.52.Final.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/netty-transport-4.1.52.Final.jar
[INFO] Copying reactor-core-3.3.10.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/reactor-core-3.3.10.RELEASE.jar
[INFO] Copying reactive-streams-1.0.3.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/reactive-streams-1.0.3.jar
[INFO] Copying elastic-job-common-core-2.1.6.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/elastic-job-common-core-2.1.6.RELEASE.jar
[INFO] Copying elastic-job-lite-core-2.1.6.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/elastic-job-lite-core-2.1.6.RELEASE.jar
[INFO] Copying elastic-job-lite-spring-2.1.6.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/elastic-job-lite-spring-2.1.6.RELEASE.jar
[INFO] Copying springfox-swagger2-2.8.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/springfox-swagger2-2.8.0.jar
[INFO] Copying swagger-annotations-1.5.14.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/swagger-annotations-1.5.14.jar
[INFO] Copying swagger-models-1.5.14.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/swagger-models-1.5.14.jar
[INFO] Copying jackson-annotations-2.10.5.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/jackson-annotations-2.10.5.jar
[INFO] Copying springfox-spi-2.8.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/springfox-spi-2.8.0.jar
[INFO] Copying springfox-core-2.8.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/springfox-core-2.8.0.jar
[INFO] Copying byte-buddy-1.10.14.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/byte-buddy-1.10.14.jar
[INFO] Copying springfox-schema-2.8.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/springfox-schema-2.8.0.jar
[INFO] Copying springfox-swagger-common-2.8.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/springfox-swagger-common-2.8.0.jar
[INFO] Copying springfox-spring-web-2.8.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/springfox-spring-web-2.8.0.jar
[INFO] Copying reflections-0.9.11.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/reflections-0.9.11.jar
[INFO] Copying javassist-3.21.0-GA.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/javassist-3.21.0-GA.jar
[INFO] Copying classmate-1.5.1.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/classmate-1.5.1.jar
[INFO] Copying spring-plugin-core-1.2.0.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-plugin-core-1.2.0.RELEASE.jar
[INFO] Copying spring-plugin-metadata-1.2.0.RELEASE.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/spring-plugin-metadata-1.2.0.RELEASE.jar
[INFO] Copying mapstruct-1.2.0.Final.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/mapstruct-1.2.0.Final.jar
[INFO] Copying springfox-swagger-ui-2.8.0.jar to /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/lib/springfox-swagger-ui-2.8.0.jar
[INFO]
[INFO] --- jar:2.3:jar (default) @ msgcenter-server ---
[INFO] Building jar: /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/msgcenter-server-2.0.0.RELEASE-without-configs.jar
[INFO]
[INFO] --- install:2.5.2:install (default-install) @ msgcenter-server ---
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/msgcenter-server-2.0.0.RELEASE.jar to /data/jenkins/mavenlib/公司名称/msgcenter-server/2.0.0.RELEASE/msgcenter-server-2.0.0.RELEASE.jar
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/pom.xml to /data/jenkins/mavenlib/公司名称/msgcenter-server/2.0.0.RELEASE/msgcenter-server-2.0.0.RELEASE.pom
[INFO] Installing /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline/msgcenter_server/target/msgcenter-server-2.0.0.RELEASE-without-configs.jar to /data/jenkins/mavenlib/公司名称/msgcenter-server/2.0.0.RELEASE/msgcenter-server-2.0.0.RELEASE-without-configs.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for msgcenter 2.0.0.RELEASE:
[INFO]
[INFO] msgcenter .......................................... SUCCESS [ 0.467 s]
[INFO] msgcenter-common ................................... SUCCESS [ 7.938 s]
[INFO] msgcenter-thrift ................................... SUCCESS [ 4.503 s]
[INFO] msgcenter-remote ................................... SUCCESS [ 4.112 s]
[INFO] msgcenter-server ................................... SUCCESS [ 9.875 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.399 s
[INFO] Finished at: 2024-02-25T14:15:02+08:00
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withEnv
Post stage
[Pipeline] qyWechatNotification
推送通知{"markdown":{"content":"<font color=\"info\">【mc_jdk8_pipeline】<\/font>构建<font color=\"info\">成功~<\/font>😎\n >构建用时:<font color=\"comment\">46 秒<\/font>\n >[查看控制台](http://jenkins ip/jenkins/job/mc_jdk8_pipeline/103/console)"},"msgtype":"markdown"}
通知结果{"errcode":0,"errmsg":"ok"}
项目运行结果[SUCCESS]
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (deploy)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sshagent
[ssh-agent] Using credentials bbs (bbs_rsa_private_key)
[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-cg6wVbhFTspL/agent.32714
SSH_AGENT_PID=32716
Running ssh-add (command line suppressed)
Identity added: /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline@tmp/private_key_14780109508305430925.key (/data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline@tmp/private_key_14780109508305430925.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] pwd
[Pipeline] }
[Pipeline] // script
[Pipeline] echo
mulu=/data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline
[Pipeline] sh
+ printenv
+ sort
_=/bin/printenv
branch_version=2.0.0
BUILD_DISPLAY_NAME=#103
BUILD_ID=103
BUILD_NUMBER=103
BUILD_TAG=jenkins-mc_jdk8_pipeline-103
BUILD_URL=http://jenkins ip/jenkins/job/mc_jdk8_pipeline/103/
CI=true
CLASS_PATH=.:/data/jenkins/jdk-17.0.9/lib/*:.:/data/jenkins/jdk-17.0.9/lib/*:
EXECUTOR_NUMBER=0
HISTCONTROL=ignoredups
HISTORY_FILE=/var/log/usermonitor/usermonitor.log
HISTSIZE=1000
HOME=/root
HOSTNAME=lan-dev-vm11
HUDSON_COOKIE=1646677f-8db5-4a85-9e40-aece863e952c
HUDSON_HOME=/data/jenkins/jenkins_data
HUDSON_SERVER_COOKIE=270420741a45e09a
HUDSON_URL=http://jenkins ip/jenkins/
JAVA_HOME=/usr/lib/jdk1.8.0_161
JENKINS_HOME=/data/jenkins/jenkins_data
JENKINS_NODE_COOKIE=cd4c46b3-79f3-4904-9804-793b2718b3b1
JENKINS_SERVER_COOKIE=durable-f2b12a5d475c727a0f5049556eb459e8e156db08328075cd2e0de7a4f30b3789
JENKINS_URL=http://jenkins ip/jenkins/
JOB_BASE_NAME=mc_jdk8_pipeline
JOB_DISPLAY_URL=http://jenkins ip/jenkins/job/mc_jdk8_pipeline/display/redirect
JOB_NAME=mc_jdk8_pipeline
JOB_URL=http://jenkins ip/jenkins/job/mc_jdk8_pipeline/
JRE_HOME=/data/jenkins/jdk-17.0.9
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
LESSOPEN=||/usr/bin/lesspipe.sh %s
LOGNAME=root
LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:
MAIL=/var/spool/mail/root
MAVEN_HOME=/data/jenkins/maven
NODE_LABELS=172_11
NODE_NAME=172_11
PATH=/usr/lib/jdk1.8.0_161/bin:/usr/lib/jdk1.8.0_161/bin:/data/jenkins/maven/bin:/data/jenkins/jdk-17.0.9/bin:/data/jenkins/jdk-17.0.9/bin:/data/jenkins/maven/bin:/data/jenkins/maven/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/jdk1.8.0_161/bin:/usr/lib/jdk1.8.0_161/jre/bin:/root/bin:/data/jenkins/jdk-17.0.9/bin:/data/jenkins/jdk-17.0.9/bin:/data/jenkins/jdk-17.0.9/bin:/data/jenkins/jdk-17.0.9/bin
PROMPT_COMMAND={ date "+%y-%m-%d %T ##### $(who am i |awk "{print \$1\" \"\$2\" \"\$5}") #### $(history 1 | { read x cmd; echo "$cmd"; })"; } >>$HISTORY_FILE
PWD=/data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline
RUN_ARTIFACTS_DISPLAY_URL=http://jenkins ip/jenkins/job/mc_jdk8_pipeline/103/display/redirect?page=artifacts
RUN_CHANGES_DISPLAY_URL=http://jenkins ip/jenkins/job/mc_jdk8_pipeline/103/display/redirect?page=changes
RUN_DISPLAY_URL=http://jenkins ip/jenkins/job/mc_jdk8_pipeline/103/display/redirect
RUN_TESTS_DISPLAY_URL=http://jenkins ip/jenkins/job/mc_jdk8_pipeline/103/display/redirect?page=tests
SHELL=/bin/bash
SHLVL=4
SSH_AUTH_SOCK=/tmp/ssh-cg6wVbhFTspL/agent.32714
STAGE_NAME=deploy
SUDO_COMMAND=/bin/bash
SUDO_GID=1002
SUDO_UID=1002
SUDO_USER=用户名
TERM=xterm-256color
USERNAME=root
USER=root
WORKSPACE2=/data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline
WORKSPACE=/data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline
WORKSPACE_TMP=/data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline@tmp
XDG_SESSION_ID=49013
[Pipeline] sh
+ cd /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline
[Pipeline] sh
++ pwd
+ cd /data/jenkins/jenkins_data/workspace/mc_jdk8_pipeline
[Pipeline] sh
+ scp ./msgcenter_server/target/lib/activation-1.1.jar ./msgcenter_server/target/lib/aliyun-java-sdk-core-4.5.0.jar ./msgcenter_server/target/lib/apache-el-8.5.54.jar ./msgcenter_server/target/lib/asm-7.3.1.jar ./msgcenter_server/target/lib/asm-analysis-7.3.1.jar ./msgcenter_server/target/lib/asm-commons-7.3.1.jar ./msgcenter_server/target/lib/asm-tree-7.3.1.jar ./msgcenter_server/target/lib/aspectjrt-1.9.6.jar ./msgcenter_server/target/lib/aspectjweaver-1.9.6.jar ./msgcenter_server/target/lib/byte-buddy-1.10.14.jar ./msgcenter_server/target/lib/classmate-1.5.1.jar ./msgcenter_server/target/lib/classworlds-1.1-alpha-2.jar ./msgcenter_server/target/lib/commons-beanutils-1.7.0.jar ./msgcenter_server/target/lib/commons-codec-1.13.jar ./msgcenter_server/target/lib/commons-collections-3.2.jar ./msgcenter_server/target/lib/commons-io-2.4.jar ./msgcenter_server/target/lib/commons-lang-2.6.jar ./msgcenter_server/target/lib/commons-lang3-3.9.jar ./msgcenter_server/target/lib/commons-logging-1.2.jar ./msgcenter_server/target/lib/commons-pool-1.6.jar ./msgcenter_server/target/lib/commons-pool2-2.11.1.jar ./msgcenter_server/target/lib/druid-1.1.0.jar ./msgcenter_server/target/lib/druid-spring-boot-starter-1.1.0.jar ./msgcenter_server/target/lib/elastic-job-common-core-2.1.6.RELEASE.jar ./msgcenter_server/target/lib/elastic-job-lite-core-2.1.6.RELEASE.jar ./msgcenter_server/target/lib/elastic-job-lite-spring-2.1.6.RELEASE.jar ./msgcenter_server/target/lib/ErrorLogMonitor-1.0.1.RELEASE.jar ./msgcenter_server/target/lib/ezmorph-1.0.6.jar ./msgcenter_server/target/lib/fastjson-1.2.70.jar ./msgcenter_server/target/lib/fluent-hc-4.5.jar ./msgcenter_server/target/lib/gson-2.8.6.jar ./msgcenter_server/target/lib/guava-20.0.jar ./msgcenter_server/target/lib/hamcrest-2.1.jar ./msgcenter_server/target/lib/hamcrest-core-2.1.jar ./msgcenter_server/target/lib/hibernate-validator-6.0.20.Final.jar ./msgcenter_server/target/lib/HikariCP-3.4.5.jar ./msgcenter_server/target/lib/httpasyncclient-4.1.4.jar ./msgcenter_server/target/lib/httpasyncclient-cache-4.1.2.jar ./msgcenter_server/target/lib/httpclient-4.5.jar ./msgcenter_server/target/lib/httpclient-cache-4.5.jar ./msgcenter_server/target/lib/httpcore-4.4.5.jar ./msgcenter_server/target/lib/httpcore-nio-4.4.5.jar ./msgcenter_server/target/lib/httpmime-4.5.jar ./msgcenter_server/target/lib/impc-common-1.3.0.RELEASE.jar ./msgcenter_server/target/lib/ini4j-0.5.4.jar ./msgcenter_server/target/lib/jackson-annotations-2.10.5.jar ./msgcenter_server/target/lib/jackson-core-2.10.5.jar ./msgcenter_server/target/lib/jackson-databind-2.10.5.jar ./msgcenter_server/target/lib/jackson-datatype-jdk8-2.10.5.jar ./msgcenter_server/target/lib/jackson-datatype-jsr310-2.10.5.jar ./msgcenter_server/target/lib/jackson-module-parameter-names-2.10.5.jar ./msgcenter_server/target/lib/jakarta.annotation-api-1.3.5.jar ./msgcenter_server/target/lib/jakarta.servlet-api-4.0.4.jar ./msgcenter_server/target/lib/jakarta.validation-api-2.0.2.jar ./msgcenter_server/target/lib/jakarta.websocket-api-1.1.2.jar ./msgcenter_server/target/lib/javassist-3.21.0-GA.jar ./msgcenter_server/target/lib/javax.activation-api-1.2.0.jar ./msgcenter_server/target/lib/javax.annotation-api-1.3.2.jar ./msgcenter_server/target/lib/javax.servlet-api-3.1.0.jar ./msgcenter_server/target/lib/javax-websocket-client-impl-9.4.31.v20200723.jar ./msgcenter_server/target/lib/javax-websocket-server-impl-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jaxb-api-2.3.1.jar ./msgcenter_server/target/lib/jboss-logging-3.4.1.Final.jar ./msgcenter_server/target/lib/jetty-annotations-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-client-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-continuation-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-http-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-io-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-plus-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-security-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-server-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-servlet-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-servlets-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-util-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-webapp-9.4.31.v20200723.jar ./msgcenter_server/target/lib/jetty-xml-9.4.31.v20200723.jar ./msgcenter_server/target/lib/json-20170516.jar ./msgcenter_server/target/lib/json-lib-2.2.3-jdk15.jar ./msgcenter_server/target/lib/jtils-0.0.2.jar ./msgcenter_server/target/lib/jul-to-slf4j-1.7.30.jar ./msgcenter_server/target/lib/junit-4.9.jar ./msgcenter_server/target/lib/lettuce-core-5.2.2.RELEASE.jar ./msgcenter_server/target/lib/libthrift-0.9.2.jar ./msgcenter_server/target/lib/log4j-api-2.12.1.jar ./msgcenter_server/target/lib/log4j-to-slf4j-2.12.1.jar ./msgcenter_server/target/lib/logback-classic-1.2.0.jar ./msgcenter_server/target/lib/logback-core-1.2.0.jar ./msgcenter_server/target/lib/logging-interceptor-2.7.5.jar ./msgcenter_server/target/lib/lombok-1.18.24.jar ./msgcenter_server/target/lib/mail-1.4.1.jar ./msgcenter_server/target/lib/mapstruct-1.2.0.Final.jar ./msgcenter_server/target/lib/mchange-commons-java-0.2.15.jar ./msgcenter_server/target/lib/msgcenter-common-2.0.0.RELEASE.jar ./msgcenter_server/target/lib/msgcenter-remote-2.0.0.RELEASE.jar ./msgcenter_server/target/lib/msgcenter-thrift-2.0.0.RELEASE.jar ./msgcenter_server/target/lib/mybatis-3.4.0.jar ./msgcenter_server/target/lib/mybatis-spring-1.3.0.jar ./msgcenter_server/target/lib/mybatis-spring-boot-autoconfigure-1.1.1.jar ./msgcenter_server/target/lib/mybatis-spring-boot-starter-1.1.1.jar ./msgcenter_server/target/lib/mysql-connector-java-5.1.30.jar ./msgcenter_server/target/lib/netty-buffer-4.1.52.Final.jar ./msgcenter_server/target/lib/netty-codec-4.1.52.Final.jar ./msgcenter_server/target/lib/netty-common-4.1.52.Final.jar ./msgcenter_server/target/lib/netty-handler-4.1.52.Final.jar ./msgcenter_server/target/lib/netty-resolver-4.1.52.Final.jar ./msgcenter_server/target/lib/netty-transport-4.1.52.Final.jar ./msgcenter_server/target/lib/okhttp-2.7.5.jar ./msgcenter_server/target/lib/okio-1.12.0.jar ./msgcenter_server/target/lib/opentracing-api-0.33.0.jar ./msgcenter_server/target/lib/opentracing-noop-0.33.0.jar ./msgcenter_server/target/lib/opentracing-util-0.33.0.jar ./msgcenter_server/target/lib/org.jacoco.agent-0.8.5-runtime.jar ./msgcenter_server/target/lib/protobuf-java-2.4.1.jar ./msgcenter_server/target/lib/qcloudsms-1.0.6.jar ./msgcenter_server/target/lib/quartz-2.3.2.jar ./msgcenter_server/target/lib/reactive-streams-1.0.3.jar ./msgcenter_server/target/lib/reactor-core-3.3.10.RELEASE.jar ./msgcenter_server/target/lib/reflections-0.9.11.jar ./msgcenter_server/target/lib/sdk_java-2.6.3.jar ./msgcenter_server/target/lib/simpleclient-0.9.0.jar ./msgcenter_server/target/lib/simpleclient_common-0.9.0.jar ./msgcenter_server/target/lib/simpleclient_hotspot-0.9.0.jar ./msgcenter_server/target/lib/simpleclient_servlet-0.9.0.jar ./msgcenter_server/target/lib/slf4j-api-1.7.30.jar ./msgcenter_server/target/lib/snakeyaml-1.25.jar ./msgcenter_server/target/lib/spring-aop-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/spring-beans-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/spring-boot-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-boot-autoconfigure-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-boot-starter-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-boot-starter-aop-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-boot-starter-data-redis-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-boot-starter-jdbc-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-boot-starter-jetty-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-boot-starter-json-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-boot-starter-logging-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-boot-starter-validation-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-boot-starter-web-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-cloud-context-2.1.2.RELEASE.jar ./msgcenter_server/target/lib/spring-context-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/spring-context-support-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/spring-core-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/spring-data-commons-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-data-keyvalue-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-data-redis-2.2.10.RELEASE.jar ./msgcenter_server/target/lib/spring-expression-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/springfox-core-2.8.0.jar ./msgcenter_server/target/lib/springfox-schema-2.8.0.jar ./msgcenter_server/target/lib/springfox-spi-2.8.0.jar ./msgcenter_server/target/lib/springfox-spring-web-2.8.0.jar ./msgcenter_server/target/lib/springfox-swagger2-2.8.0.jar ./msgcenter_server/target/lib/springfox-swagger-common-2.8.0.jar ./msgcenter_server/target/lib/springfox-swagger-ui-2.8.0.jar ./msgcenter_server/target/lib/spring-jcl-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/spring-jdbc-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/spring-oxm-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/spring-plugin-core-1.2.0.RELEASE.jar ./msgcenter_server/target/lib/spring-plugin-metadata-1.2.0.RELEASE.jar ./msgcenter_server/target/lib/spring-security-crypto-5.2.6.RELEASE.jar ./msgcenter_server/target/lib/spring-tx-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/spring-web-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/spring-webmvc-5.2.9.RELEASE.jar ./msgcenter_server/target/lib/swagger-annotations-1.5.14.jar ./msgcenter_server/target/lib/swagger-models-1.5.14.jar ./msgcenter_server/target/lib/tencentcloud-sdk-java-3.1.194.jar ./msgcenter_server/target/lib/tomcat-embed-el-9.0.38.jar ./msgcenter_server/target/lib/ump-2.4.jar ./msgcenter_server/target/lib/websocket-api-9.4.31.v20200723.jar ./msgcenter_server/target/lib/websocket-client-9.4.31.v20200723.jar ./msgcenter_server/target/lib/websocket-common-9.4.31.v20200723.jar ./msgcenter_server/target/lib/websocket-server-9.4.31.v20200723.jar ./msgcenter_server/target/lib/websocket-servlet-9.4.31.v20200723.jar ./msgcenter_server/target/lib/xpp3_min-1.1.4c.jar ./msgcenter_server/target/lib/xstream-1.3.1.jar ./msgcenter_server/target/lib/yunpian-java-sdk-1.2.4.jar bbs@目标机器ip:/data/server/bbs/mc_deploy/lib
[Pipeline] sh
+ scp ./msgcenter_server/target/msgcenter-server-2.0.0.RELEASE-without-configs.jar bbs@目标机器ip:/data/server/bbs/mc_deploy/lib
[Pipeline] sh
+ ssh -o StrictHostKeyChecking=no -l bbs 目标机器ip /data/server/bbs/mc_deploy/bin/server.sh restart
Stopping msgcenter...
msgcenter was not running.
Starting msgcenter...
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 32716 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
Post stage
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ curl -X POST -H 'Content-Type: application/json' -d '{"msgtype": "markdown", "markdown": {"content": "<font color=green>【 mc_jdk8_pipeline 】部署SUCCESS~😄</font> <艾特的userid>
> 构建号码: 103
> 持续时间: 1 分 12 秒 并计数中
> 执行人: [由用户 admin 启动]
> 部署分支: 2.0.0
> 部署ip: 目标机器ip
> 部署路径:/data/server/bbs/mc_deploy
> [查看控制台]: http://jenkins ip/jenkins/job/mc_jdk8_pipeline/103/ "}}' 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=275759a9-e79b-4001-98e7-46cfb7952b41'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 455 100 27 100 428 63 1009 --:--:-- --:--:-- --:--:-- 1009
100 455 100 27 100 428 63 1008 --:--:-- --:--:-- --:--:-- 1009
{"errcode":0,"errmsg":"ok"}
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS