Skip to content

Instantly share code, notes, and snippets.

@brightzheng100
Last active October 21, 2016 02:42
Show Gist options
  • Save brightzheng100/b698982e761e9b3c5d827bb4abcbf1d6 to your computer and use it in GitHub Desktop.
Save brightzheng100/b698982e761e9b3c5d827bb4abcbf1d6 to your computer and use it in GitHub Desktop.
Console Output
Started by user Bright Zheng
[EnvInject] - Loading node environment variables.
Building in workspace /var/jenkins_home/workspace/springboot-jersey-swagger
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url http://192.168.56.118:3000/bright/springboot-jersey-swagger.git # timeout=10
Fetching upstream changes from http://192.168.56.118:3000/bright/springboot-jersey-swagger.git
> git --version # timeout=10
using .gitcredentials to set credentials
> git config --local credential.username bright # timeout=10
> git config --local credential.helper store --file=/tmp/git6027043881471859374.credentials # timeout=10
> git -c core.askpass=true fetch --tags --progress http://192.168.56.118:3000/bright/springboot-jersey-swagger.git +refs/heads/*:refs/remotes/origin/*
> git config --local --remove-section credential # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 12407aaf29446a3598a2981caa1dec5dea6e9da3 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 12407aaf29446a3598a2981caa1dec5dea6e9da3
> git rev-list 12407aaf29446a3598a2981caa1dec5dea6e9da3 # timeout=10
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties file path '/var/jenkins_home/env.properties'
[EnvInject] - Variables injected successfully.
[springboot-jersey-swagger] $ /opt/maven/bin/mvn clean package docker:build -DpushImage
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building springboot-jersey-swagger-docker 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ springboot-jersey-swagger ---
[INFO] Deleting /var/jenkins_home/workspace/springboot-jersey-swagger/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ springboot-jersey-swagger ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 49 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ springboot-jersey-swagger ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to /var/jenkins_home/workspace/springboot-jersey-swagger/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ springboot-jersey-swagger ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/springboot-jersey-swagger/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ springboot-jersey-swagger ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /var/jenkins_home/workspace/springboot-jersey-swagger/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ springboot-jersey-swagger ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ springboot-jersey-swagger ---
[INFO] Building jar: /var/jenkins_home/workspace/springboot-jersey-swagger/target/springboot-jersey-swagger-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:1.3.5.RELEASE:repackage (default) @ springboot-jersey-swagger ---
[INFO]
[INFO] --- docker-maven-plugin:0.4.13:build (default-cli) @ springboot-jersey-swagger ---
[INFO] Copying /var/jenkins_home/workspace/springboot-jersey-swagger/target/springboot-jersey-swagger-1.0.0-SNAPSHOT.jar -> /var/jenkins_home/workspace/springboot-jersey-swagger/target/docker/springboot-jersey-swagger-1.0.0-SNAPSHOT.jar
[INFO] Building image 192.168.56.118:5000/devops/springboot-jersey-swagger
Step 1 : FROM frolvlad/alpine-oraclejdk8:slim
---> f8103909759b
Step 2 : ADD /springboot-jersey-swagger-1.0.0-SNAPSHOT.jar //
---> c1be91719bbe
Removing intermediate container e9ac9a414497
Step 3 : ENTRYPOINT java -jar /springboot-jersey-swagger-1.0.0-SNAPSHOT.jar
---> Running in 21d501ceeac4
---> 72410a9f372a
Removing intermediate container 21d501ceeac4
Successfully built 72410a9f372a
[INFO] Built 192.168.56.118:5000/devops/springboot-jersey-swagger
[INFO] Tagging 192.168.56.118:5000/devops/springboot-jersey-swagger with 1.0.0-SNAPSHOT
[INFO] Tagging 192.168.56.118:5000/devops/springboot-jersey-swagger with latest
[INFO] Pushing 192.168.56.118:5000/devops/springboot-jersey-swagger
The push refers to a repository [192.168.56.118:5000/devops/springboot-jersey-swagger]
dba7762f0f73: Preparing
a27c88827076: Preparing
58f7b9930e4f: Preparing
9007f5987db3: Preparing

58f7b9930e4f: Already exists

9007f5987db3: Already exists

a27c88827076: Already exists

dba7762f0f73: Waiting

dba7762f0f73: Pushing

dba7762f0f73: Pushing [> ] 262.7 kB/24.7 MB

dba7762f0f73: Pushing [=> ] 524.8 kB/24.7 MB

dba7762f0f73: Pushing [=> ] 786.9 kB/24.7 MB

dba7762f0f73: Pushing [==> ] 1.049 MB/24.7 MB

dba7762f0f73: Pushing [==> ] 1.311 MB/24.7 MB

dba7762f0f73: Pushing [===> ] 1.573 MB/24.7 MB

dba7762f0f73: Pushing [===> ] 1.836 MB/24.7 MB

dba7762f0f73: Pushing [====> ] 2.098 MB/24.7 MB

dba7762f0f73: Pushing [====> ] 2.36 MB/24.7 MB

dba7762f0f73: Pushing [=====> ] 2.622 MB/24.7 MB

dba7762f0f73: Pushing [=====> ] 2.884 MB/24.7 MB

dba7762f0f73: Pushing [======> ] 3.146 MB/24.7 MB

dba7762f0f73: Pushing [======> ] 3.408 MB/24.7 MB

dba7762f0f73: Pushing [=======> ] 3.671 MB/24.7 MB

dba7762f0f73: Pushing [=======> ] 3.933 MB/24.7 MB

dba7762f0f73: Pushing [========> ] 4.195 MB/24.7 MB

dba7762f0f73: Pushing [=========> ] 4.457 MB/24.7 MB

dba7762f0f73: Pushing [=========> ] 4.719 MB/24.7 MB

dba7762f0f73: Pushing [==========> ] 4.981 MB/24.7 MB

dba7762f0f73: Pushing [==========> ] 5.243 MB/24.7 MB

dba7762f0f73: Pushing [===========> ] 5.506 MB/24.7 MB

dba7762f0f73: Pushing [===========> ] 5.768 MB/24.7 MB

dba7762f0f73: Pushing [============> ] 6.03 MB/24.7 MB

dba7762f0f73: Pushing [============> ] 6.292 MB/24.7 MB

dba7762f0f73: Pushing [=============> ] 6.554 MB/24.7 MB

dba7762f0f73: Pushing [=============> ] 6.816 MB/24.7 MB

dba7762f0f73: Pushing [==============> ] 7.078 MB/24.7 MB

dba7762f0f73: Pushing [==============> ] 7.341 MB/24.7 MB

dba7762f0f73: Pushing [===============> ] 7.603 MB/24.7 MB

dba7762f0f73: Pushing [===============> ] 7.865 MB/24.7 MB

dba7762f0f73: Pushing [================> ] 8.127 MB/24.7 MB

dba7762f0f73: Pushing [================> ] 8.389 MB/24.7 MB

dba7762f0f73: Pushing [=================> ] 8.651 MB/24.7 MB

dba7762f0f73: Pushing [==================> ] 8.913 MB/24.7 MB

dba7762f0f73: Pushing [==================> ] 9.176 MB/24.7 MB

dba7762f0f73: Pushing [===================> ] 9.438 MB/24.7 MB

dba7762f0f73: Pushing [===================> ] 9.7 MB/24.7 MB

dba7762f0f73: Pushing [====================> ] 9.962 MB/24.7 MB

dba7762f0f73: Pushing [====================> ] 10.22 MB/24.7 MB

dba7762f0f73: Pushing [=====================> ] 10.49 MB/24.7 MB

dba7762f0f73: Pushing [=====================> ] 10.75 MB/24.7 MB

dba7762f0f73: Pushing [======================> ] 11.01 MB/24.7 MB

dba7762f0f73: Pushing [======================> ] 11.27 MB/24.7 MB

dba7762f0f73: Pushing [=======================> ] 11.53 MB/24.7 MB

dba7762f0f73: Pushing [=======================> ] 11.8 MB/24.7 MB

dba7762f0f73: Pushing [========================> ] 12.06 MB/24.7 MB

dba7762f0f73: Pushing [========================> ] 12.32 MB/24.7 MB

dba7762f0f73: Pushing [=========================> ] 12.58 MB/24.7 MB

dba7762f0f73: Pushing [==========================> ] 12.85 MB/24.7 MB

dba7762f0f73: Pushing [==========================> ] 13.11 MB/24.7 MB

dba7762f0f73: Pushing [===========================> ] 13.37 MB/24.7 MB

dba7762f0f73: Pushing [===========================> ] 13.63 MB/24.7 MB

dba7762f0f73: Pushing [============================> ] 13.89 MB/24.7 MB

dba7762f0f73: Pushing [============================> ] 14.16 MB/24.7 MB

dba7762f0f73: Pushing [=============================> ] 14.42 MB/24.7 MB

dba7762f0f73: Pushing [=============================> ] 14.68 MB/24.7 MB

dba7762f0f73: Pushing [==============================> ] 14.94 MB/24.7 MB

dba7762f0f73: Pushing [==============================> ] 15.2 MB/24.7 MB

dba7762f0f73: Pushing [===============================> ] 15.47 MB/24.7 MB

dba7762f0f73: Pushing [===============================> ] 15.73 MB/24.7 MB

dba7762f0f73: Pushing [================================> ] 15.99 MB/24.7 MB

dba7762f0f73: Pushing [================================> ] 16.25 MB/24.7 MB

dba7762f0f73: Pushing [=================================> ] 16.52 MB/24.7 MB

dba7762f0f73: Pushing [=================================> ] 16.78 MB/24.7 MB

dba7762f0f73: Pushing [==================================> ] 17.04 MB/24.7 MB

dba7762f0f73: Pushing [===================================> ] 17.3 MB/24.7 MB

dba7762f0f73: Pushing [===================================> ] 17.56 MB/24.7 MB

dba7762f0f73: Pushing [====================================> ] 17.83 MB/24.7 MB

dba7762f0f73: Pushing [====================================> ] 18.09 MB/24.7 MB

dba7762f0f73: Pushing [=====================================> ] 18.35 MB/24.7 MB

dba7762f0f73: Pushing [=====================================> ] 18.61 MB/24.7 MB

dba7762f0f73: Pushing [======================================> ] 18.87 MB/24.7 MB

dba7762f0f73: Pushing [======================================> ] 19.14 MB/24.7 MB

dba7762f0f73: Pushing [=======================================> ] 19.4 MB/24.7 MB

dba7762f0f73: Pushing [=======================================> ] 19.66 MB/24.7 MB

dba7762f0f73: Pushing [========================================> ] 19.92 MB/24.7 MB

dba7762f0f73: Pushing [========================================> ] 20.19 MB/24.7 MB

dba7762f0f73: Pushing [=========================================> ] 20.45 MB/24.7 MB

dba7762f0f73: Pushing [=========================================> ] 20.71 MB/24.7 MB

dba7762f0f73: Pushing [==========================================> ] 20.97 MB/24.7 MB

dba7762f0f73: Pushing [==========================================> ] 21.23 MB/24.7 MB

dba7762f0f73: Pushing [===========================================> ] 21.5 MB/24.7 MB

dba7762f0f73: Pushing [============================================> ] 21.76 MB/24.7 MB

dba7762f0f73: Pushing [============================================> ] 22.02 MB/24.7 MB

dba7762f0f73: Pushing [=============================================> ] 22.28 MB/24.7 MB

dba7762f0f73: Pushing [=============================================> ] 22.54 MB/24.7 MB

dba7762f0f73: Pushing [==============================================> ] 22.81 MB/24.7 MB

dba7762f0f73: Pushing [==============================================> ] 23.07 MB/24.7 MB

dba7762f0f73: Pushing [===============================================> ] 23.33 MB/24.7 MB

dba7762f0f73: Pushing [===============================================> ] 23.59 MB/24.7 MB

dba7762f0f73: Pushing [================================================> ] 23.86 MB/24.7 MB

dba7762f0f73: Pushing [================================================> ] 24.12 MB/24.7 MB

dba7762f0f73: Pushing [=================================================> ] 24.38 MB/24.7 MB

dba7762f0f73: Pushing [=================================================> ] 24.64 MB/24.7 MB

dba7762f0f73: Image successfully pushed
Pushing tag for rev [72410a9f372a] on {http://192.168.56.118:5000/v1/repositories/devops/springboot-jersey-swagger/tags/1.0.0-SNAPSHOT}
Pushing tag for rev [72410a9f372a] on {http://192.168.56.118:5000/v1/repositories/devops/springboot-jersey-swagger/tags/latest}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 55.253 s
[INFO] Finished at: 2016-10-21T02:41:01+00:00
[INFO] Final Memory: 40M/96M
[INFO] ------------------------------------------------------------------------
[springboot-jersey-swagger] $ /bin/sh -xe /tmp/hudson6162171061207677282.sh
+ cd /var/jenkins_home/workspace/springboot-jersey-swagger
+ ./deploy-app-springboot-jersey-swagger.sh
% 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 61 0 61 0 0 89 0 --:--:-- --:--:-- --:--:-- 91
{"message":"App '/springboot-jersey-swagger' does not exist"} % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 335 0 0 100 335 0 278 0:00:01 0:00:01 --:--:-- 278
100 1376 0 1041 100 335 513 165 0:00:02 0:00:02 --:--:-- 513
{"id":"/springboot-jersey-swagger","cmd":null,"args":null,"user":null,"env":{},"instances":1,"cpus":0.2,"mem":256,"disk":0,"executor":"","constraints":[],"uris":[],"fetch":[],"storeUrls":[],"ports":[8000],"portDefinitions":[{"port":8000,"protocol":"tcp","labels":{}}],"requirePorts":false,"backoffSeconds":1,"backoffFactor":1.15,"maxLaunchDelaySeconds":3600,"container":{"type":"DOCKER","volumes":[],"docker":{"image":"192.168.56.118:5000/devops/springboot-jersey-swagger:latest","network":"BRIDGE","portMappings":[{"containerPort":8000,"hostPort":0,"servicePort":8000,"protocol":"tcp","labels":{}}],"privileged":false,"parameters":[],"forcePullImage":false}},"healthChecks":[],"readinessChecks":[],"dependencies":[],"upgradeStrategy":{"minimumHealthCapacity":1,"maximumOverCapacity":1},"labels":{},"acceptedResourceRoles":null,"ipAddress":null,"version":"2016-10-21T02:41:06.001Z","residency":null,"tasksStaged":0,"tasksRunning":0,"tasksHealthy":0,"tasksUnhealthy":0,"deployments":[{"id":"6c37c81c-3c70-43dd-b774-d37c7326228b"}],"tasks":[]}
Finished: SUCCESS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment