Skip to content

Instantly share code, notes, and snippets.

@brightzheng100
Created October 4, 2016 07:08
Show Gist options
  • Save brightzheng100/c753f78b0c76063588f6d854f98cbda9 to your computer and use it in GitHub Desktop.
Save brightzheng100/c753f78b0c76063588f6d854f98cbda9 to your computer and use it in GitHub Desktop.
Started by an SCM change
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/git6216967762445272219.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 8d3e9d8effcd8bfb785fa398ef0ff10c6bb4d016 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 8d3e9d8effcd8bfb785fa398ef0ff10c6bb4d016
First time build. Skipping changelog.
[envfile] Reading environment variables from file.
[envfile] Path to file: /var/jenkins_home/env.properties
[envfile] DOCKER_HOST=tcp:192.168.56.118:4243
[springboot-jersey-swagger] $ /opt/maven/bin/mvn package docker:build -DpushImage
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building springboot-jersey-swagger-docker 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[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] Nothing to compile - all classes are up to date
[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] Nothing to compile - all classes are up to date
[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) @ 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 //
---> 4bd3120c3e58
Removing intermediate container ac0cb8d4e173
Step 3 : ENTRYPOINT java -jar /springboot-jersey-swagger-1.0.0-SNAPSHOT.jar
---> Running in 3b5008f4cb12
---> 203fde08df84
Removing intermediate container 3b5008f4cb12
Successfully built 203fde08df84
[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] 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]
6487717c4551: Preparing
a27c88827076: Preparing
58f7b9930e4f: Preparing
9007f5987db3: Preparing

9007f5987db3: Already exists

58f7b9930e4f: Already exists

a27c88827076: Already exists

6487717c4551: Waiting

6487717c4551: Pushing

6487717c4551: Pushing [> ] 262.7 kB/24.79 MB

6487717c4551: Pushing [=> ] 524.8 kB/24.79 MB

6487717c4551: Pushing [=> ] 786.9 kB/24.79 MB

6487717c4551: Pushing [==> ] 1.049 MB/24.79 MB

6487717c4551: Pushing [==> ] 1.311 MB/24.79 MB

6487717c4551: Pushing [===> ] 1.573 MB/24.79 MB

6487717c4551: Pushing [===> ] 1.836 MB/24.79 MB

6487717c4551: Pushing [====> ] 2.098 MB/24.79 MB

6487717c4551: Pushing [====> ] 2.36 MB/24.79 MB

6487717c4551: Pushing [=====> ] 2.622 MB/24.79 MB

6487717c4551: Pushing [=====> ] 2.884 MB/24.79 MB

6487717c4551: Pushing [======> ] 3.146 MB/24.79 MB

6487717c4551: Pushing [======> ] 3.408 MB/24.79 MB

6487717c4551: Pushing [=======> ] 3.671 MB/24.79 MB

6487717c4551: Pushing [=======> ] 3.933 MB/24.79 MB

6487717c4551: Pushing [========> ] 4.195 MB/24.79 MB

6487717c4551: Pushing [========> ] 4.457 MB/24.79 MB

6487717c4551: Pushing [=========> ] 4.719 MB/24.79 MB

6487717c4551: Pushing [==========> ] 4.981 MB/24.79 MB

6487717c4551: Pushing [==========> ] 5.243 MB/24.79 MB

6487717c4551: Pushing [===========> ] 5.506 MB/24.79 MB

6487717c4551: Pushing [===========> ] 5.768 MB/24.79 MB

6487717c4551: Pushing [============> ] 6.03 MB/24.79 MB

6487717c4551: Pushing [============> ] 6.292 MB/24.79 MB

6487717c4551: Pushing [=============> ] 6.554 MB/24.79 MB

6487717c4551: Pushing [=============> ] 6.816 MB/24.79 MB

6487717c4551: Pushing [==============> ] 7.078 MB/24.79 MB

6487717c4551: Pushing [==============> ] 7.341 MB/24.79 MB

6487717c4551: Pushing [===============> ] 7.603 MB/24.79 MB

6487717c4551: Pushing [===============> ] 7.865 MB/24.79 MB

6487717c4551: Pushing [================> ] 8.127 MB/24.79 MB

6487717c4551: Pushing [================> ] 8.389 MB/24.79 MB

6487717c4551: Pushing [=================> ] 8.651 MB/24.79 MB

6487717c4551: Pushing [=================> ] 8.913 MB/24.79 MB

6487717c4551: Pushing [==================> ] 9.176 MB/24.79 MB

6487717c4551: Pushing [===================> ] 9.438 MB/24.79 MB

6487717c4551: Pushing [===================> ] 9.7 MB/24.79 MB

6487717c4551: Pushing [====================> ] 9.962 MB/24.79 MB

6487717c4551: Pushing [====================> ] 10.22 MB/24.79 MB

6487717c4551: Pushing [=====================> ] 10.49 MB/24.79 MB

6487717c4551: Pushing [=====================> ] 10.75 MB/24.79 MB

6487717c4551: Pushing [======================> ] 11.01 MB/24.79 MB

6487717c4551: Pushing [======================> ] 11.27 MB/24.79 MB

6487717c4551: Pushing [=======================> ] 11.53 MB/24.79 MB

6487717c4551: Pushing [=======================> ] 11.8 MB/24.79 MB

6487717c4551: Pushing [========================> ] 12.06 MB/24.79 MB

6487717c4551: Pushing [========================> ] 12.32 MB/24.79 MB

6487717c4551: Pushing [=========================> ] 12.58 MB/24.79 MB

6487717c4551: Pushing [=========================> ] 12.85 MB/24.79 MB

6487717c4551: Pushing [==========================> ] 13.11 MB/24.79 MB

6487717c4551: Pushing [==========================> ] 13.37 MB/24.79 MB

6487717c4551: Pushing [===========================> ] 13.63 MB/24.79 MB

6487717c4551: Pushing [============================> ] 13.89 MB/24.79 MB

6487717c4551: Pushing [============================> ] 14.16 MB/24.79 MB

6487717c4551: Pushing [=============================> ] 14.42 MB/24.79 MB

6487717c4551: Pushing [=============================> ] 14.68 MB/24.79 MB

6487717c4551: Pushing [==============================> ] 14.94 MB/24.79 MB

6487717c4551: Pushing [==============================> ] 15.2 MB/24.79 MB

6487717c4551: Pushing [===============================> ] 15.47 MB/24.79 MB

6487717c4551: Pushing [===============================> ] 15.73 MB/24.79 MB

6487717c4551: Pushing [================================> ] 15.99 MB/24.79 MB

6487717c4551: Pushing [================================> ] 16.25 MB/24.79 MB

6487717c4551: Pushing [=================================> ] 16.52 MB/24.79 MB

6487717c4551: Pushing [=================================> ] 16.78 MB/24.79 MB

6487717c4551: Pushing [==================================> ] 17.04 MB/24.79 MB

6487717c4551: Pushing [==================================> ] 17.3 MB/24.79 MB

6487717c4551: Pushing [===================================> ] 17.56 MB/24.79 MB

6487717c4551: Pushing [===================================> ] 17.83 MB/24.79 MB

6487717c4551: Pushing [====================================> ] 18.09 MB/24.79 MB

6487717c4551: Pushing [=====================================> ] 18.35 MB/24.79 MB

6487717c4551: Pushing [=====================================> ] 18.61 MB/24.79 MB

6487717c4551: Pushing [======================================> ] 18.87 MB/24.79 MB

6487717c4551: Pushing [======================================> ] 19.14 MB/24.79 MB

6487717c4551: Pushing [=======================================> ] 19.4 MB/24.79 MB

6487717c4551: Pushing [=======================================> ] 19.66 MB/24.79 MB

6487717c4551: Pushing [========================================> ] 19.92 MB/24.79 MB

6487717c4551: Pushing [========================================> ] 20.19 MB/24.79 MB

6487717c4551: Pushing [=========================================> ] 20.45 MB/24.79 MB

6487717c4551: Pushing [=========================================> ] 20.71 MB/24.79 MB

6487717c4551: Pushing [==========================================> ] 20.97 MB/24.79 MB

6487717c4551: Pushing [==========================================> ] 21.23 MB/24.79 MB

6487717c4551: Pushing [===========================================> ] 21.5 MB/24.79 MB

6487717c4551: Pushing [===========================================> ] 21.76 MB/24.79 MB

6487717c4551: Pushing [============================================> ] 22.02 MB/24.79 MB

6487717c4551: Pushing [============================================> ] 22.28 MB/24.79 MB

6487717c4551: Pushing [=============================================> ] 22.54 MB/24.79 MB

6487717c4551: Pushing [==============================================> ] 22.81 MB/24.79 MB

6487717c4551: Pushing [==============================================> ] 23.07 MB/24.79 MB

6487717c4551: Pushing [===============================================> ] 23.33 MB/24.79 MB

6487717c4551: Pushing [===============================================> ] 23.59 MB/24.79 MB

6487717c4551: Pushing [================================================> ] 23.86 MB/24.79 MB

6487717c4551: Pushing [================================================> ] 24.12 MB/24.79 MB

6487717c4551: Pushing [=================================================> ] 24.38 MB/24.79 MB

6487717c4551: Pushing [=================================================> ] 24.64 MB/24.79 MB

6487717c4551: Image successfully pushed
Pushing tag for rev [203fde08df84] on {http://192.168.56.118:5000/v1/repositories/devops/springboot-jersey-swagger/tags/1.0.0-SNAPSHOT}
Pushing tag for rev [203fde08df84] on {http://192.168.56.118:5000/v1/repositories/devops/springboot-jersey-swagger/tags/latest}
[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 //
---> Using cache
---> 4bd3120c3e58
Step 3 : ENTRYPOINT java -jar /springboot-jersey-swagger-1.0.0-SNAPSHOT.jar
---> Using cache
---> 203fde08df84
Successfully built 203fde08df84
[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] 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]
6487717c4551: Preparing
a27c88827076: Preparing
58f7b9930e4f: Preparing
9007f5987db3: Preparing

9007f5987db3: Already exists

58f7b9930e4f: Already exists

a27c88827076: Already exists

6487717c4551: Already exists
Pushing tag for rev [203fde08df84] on {http://192.168.56.118:5000/v1/repositories/devops/springboot-jersey-swagger/tags/1.0.0-SNAPSHOT}
Pushing tag for rev [203fde08df84] on {http://192.168.56.118:5000/v1/repositories/devops/springboot-jersey-swagger/tags/latest}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.139 s
[INFO] Finished at: 2016-10-03T08:39:04+00:00
[INFO] Final Memory: 27M/67M
[INFO] ------------------------------------------------------------------------
Finished: SUCCESS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment