generic cause
building in workspace /root/.jenkins/workspace/ci
genericwebhookenvironmentcontributor received:
{“before”:”0000000000000000000000000000000000000000″,”after”:”ec7159240a346fa5988913aa3057b902a4acb126″,”ref”:”refs/heads/master”,”user_name”:”\u8096\u54e5\u54e5″,”user”:{“id”:372286,”email”:”317409898@qq.com”,”name”:”\u8096\u54e5\u54e5″,”user”:”xiaochangwei”,”url”:”https://gitee.com/xiaochangwei”,”time”:”2018-01-12t08:56:18+08:00″},”repository”:{“name”:”ci-demo”,”url”:”https://gitee.com/xiaochangwei/ci-demo.git”,”description”:””,”homepage”:”https://gitee.com/xiaochangwei/ci-demo”},”commits”:[{“id”:”ec7159240a346fa5988913aa3057b902a4acb126″,”message”:”a test for webhooks”,”timestamp”:”2015-11-06t13:21:07+08:00″,”url”:”https://gitee.com/xiaochangwei/ci-demo/commit/ec7159240a346fa5988913aa3057b902a4acb126″,”author”:{“name”:”\u8096\u54e5\u54e5″,”email”:”317409898@qq.com”,”time”:”2015-11-06t13:21:07+08:00″}}],”project”:{“name”:”ci-demo”,”path”:”ci-demo”,”url”:”https://gitee.com/xiaochangwei/ci-demo”,”git_ssh_url”:”git@gitee.com:xiaochangwei/ci-demo.git”,”git_http_url”:”https://gitee.com/xiaochangwei/ci-demo.git”,”git_svn_url”:”svn://gitee.com/xiaochangwei/ci-demo”,”namespace”:”xiaochangwei”,”name_with_namespace”:”\u8096\u54e5\u54e5/ci-demo”,”path_with_namespace”:”xiaochangwei/ci-demo”,”default_branch”:”master”},”total_commits_count”:1,”commits_more_than_ten”:false,”enterprise”:null,”hook_name”:”push_hooks”,”password”:””}
contributing variables:
ref = refs/heads/master
project.git_ssh_url = git@gitee.com:xiaochangwei/ci-demo.git
> git rev-parse –is-inside-work-tree # timeout=10
fetching changes from the remote git repository
> git config remote.origin.url git@gitee.com:xiaochangwei/ci-demo.git # timeout=10
fetching upstream changes from git@gitee.com:xiaochangwei/ci-demo.git
> git –version # timeout=10
using git_askpass to set credentials
> git fetch –tags –progress git@gitee.com:xiaochangwei/ci-demo.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
checking out revision 2eca30803759e021f658c92c136aa72dc026c3be (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2eca30803759e021f658c92c136aa72dc026c3be
commit message: “test auto package and deploy”
> git rev-list –no-walk 2eca30803759e021f658c92c136aa72dc026c3be # timeout=10
parsing poms
established tcp socket on 44276
[ci] $ /usr/local/src/jdk/bin/java -cp /root/.jenkins/plugins/maven-plugin/web-inf/lib/maven35-agent-1.12-alpha-1.jar:/usr/local/src/maven/boot/plexus-classworlds-2.5.2.jar:/usr/local/src/maven/conf/logging jenkins.maven3.agent.maven35main /usr/local/src/maven /usr/local/src/tomcat/webapps/jenkins/web-inf/lib/remoting-3.14.jar /root/.jenkins/plugins/maven-plugin/web-inf/lib/maven35-interceptor-1.12-alpha-1.jar /root/.jenkins/plugins/maven-plugin/web-inf/lib/maven3-interceptor-commons-1.12-alpha-1.jar 44276
<===[jenkins remoting capacity]===>channel started
executing maven: -b -f /root/.jenkins/workspace/ci/pom.xml clean package -dmaven.test.skip=true
[info] scanning for projects…
[info]
[info] ————————————————————————
[info] building docker-demo 0.0.1-snapshot
[info] ————————————————————————
[info]
[info] — maven-clean-plugin:2.6.1:clean (default-clean) @ ci-demo —
[info] deleting /root/.jenkins/workspace/ci/target
[info]
[info] — maven-resources-plugin:2.6:resources (default-resources) @ ci-demo —
[info] using utf-8 encoding to copy filtered resources.
[info] copying 1 resource
[info] copying 0 resource
[info]
[info] — maven-compiler-plugin:3.1:compile (default-compile) @ ci-demo —
[info] changes detected – recompiling the module!
[info] compiling 6 source files to /root/.jenkins/workspace/ci/target/classes
[info]
[info] — maven-resources-plugin:2.6:testresources (default-testresources) @ ci-demo —
[info] not copying test resources
[info]
[info] — maven-compiler-plugin:3.1:testcompile (default-testcompile) @ ci-demo —
[info] not compiling test sources
[info]
[info] — maven-surefire-plugin:2.18.1:test (default-test) @ ci-demo —
[info] tests are skipped.
[info]
[info] — maven-war-plugin:2.6:war (default-war) @ ci-demo —
[info] packaging webapp
[info] assembling webapp [ci-demo] in [/root/.jenkins/workspace/ci/target/ci-demo]
[info] processing war project
[info] webapp assembled in [298 msecs]
[info] building war: /root/.jenkins/workspace/ci/target/ci-demo.war
[info]
[info] — spring-boot-maven-plugin:1.5.9.release:repackage (default) @ ci-demo —
[info] ————————————————————————
[info] build success
[info] ————————————————————————
[info] total time: 18.729 s
[info] finished at: 2018-01-12t08:56:46+08:00
[info] final memory: 30m/72m
[info] ————————————————————————
waiting for jenkins to finish collecting data
[jenkins] archiving /root/.jenkins/workspace/ci/pom.xml to com.xiao/ci-demo/0.0.1-snapshot/ci-demo-0.0.1-snapshot.pom
[jenkins] archiving /root/.jenkins/workspace/ci/target/ci-demo.war to com.xiao/ci-demo/0.0.1-snapshot/ci-demo-0.0.1-snapshot.war
channel stopped
deploying /root/.jenkins/workspace/ci/target/ci-demo.war to container tomcat 8.x remote with context /ci
redeploying [/root/.jenkins/workspace/ci/target/ci-demo.war]
undeploying [/root/.jenkins/workspace/ci/target/ci-demo.war]
deploying [/root/.jenkins/workspace/ci/target/ci-demo.war]
finished: success