Created
June 22, 2015 06:34
-
-
Save uaarkoti/ef3041f521bddefdcaf0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started by user anonymous | |
Running: Allocate node : Start | |
Running on master in /var/jenkins_home/jobs/docker-workflow/workspace | |
Running: Allocate node : Body : Start | |
Running: Mirror | |
Entering stage Mirror | |
Proceeding | |
Running: Shell Script | |
[workspace] Running shell script | |
+ docker pull maven:3.2-jdk-7-onbuild | |
Pulling repository maven | |
6e40c3d05989: Pulling image (3.2-jdk-7-onbuild) from maven | |
6e40c3d05989: Pulling image (3.2-jdk-7-onbuild) from maven, endpoint: https://registry-1.docker.io/v1/ | |
6e40c3d05989: Pulling dependent layers | |
511136ea3c5a: Download complete | |
3b3a4796eef1: Download complete | |
50ec2d202fe8: Download complete | |
1073b544a1cb: Download complete | |
6a7520a7fd8c: Download complete | |
060a97546ea3: Download complete | |
4d752356e7c6: Download complete | |
0b2411d869ec: Download complete | |
fa5c5774f090: Download complete | |
454ad080ec94: Download complete | |
0126b2343320: Download complete | |
3914c9d781f8: Download complete | |
4806e724fbc6: Download complete | |
45ebf0d25a39: Download complete | |
4d85b28153e8: Download complete | |
20df44085bd4: Download complete | |
6e40c3d05989: Download complete | |
6e40c3d05989: Download complete | |
Status: Image is up to date for maven:3.2-jdk-7-onbuild | |
Running: Set environment variables : Start | |
Running: Set environment variables : Body : Start | |
Running: Sets up Docker registry endpoint : Start | |
Running: Sets up Docker registry endpoint : Body : Start | |
Running: Build | |
Entering stage Build | |
Proceeding | |
Running: Shell Script | |
[workspace] Running shell script | |
+ docker inspect -f . maven:3.2-jdk-7-onbuild | |
. | |
Running: Run build steps inside a Docker container : Start | |
$ docker run -t -d -u 0:0 -v /m2repo:/m2repo -w /var/jenkins_home/jobs/docker-workflow/workspace -v /var/jenkins_home/jobs/docker-workflow/workspace:/var/jenkins_home/jobs/docker-workflow/workspace:rw -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** maven:3.2-jdk-7-onbuild cat | |
Running: Run build steps inside a Docker container : Body : Start | |
Running: Git | |
> git rev-parse --is-inside-work-tree # timeout=10 | |
Fetching changes from the remote Git repository | |
> git config remote.origin.url https://github.com/tfennelly/spring-petclinic.git # timeout=10 | |
Fetching upstream changes from https://github.com/tfennelly/spring-petclinic.git | |
> git --version # timeout=10 | |
> git -c core.askpass=true fetch --tags --progress https://github.com/tfennelly/spring-petclinic.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 38d59669aeb2bf5e26a798602bf21ccf3be027b8 (refs/remotes/origin/master) | |
> git config core.sparsecheckout # timeout=10 | |
> git checkout -f 38d59669aeb2bf5e26a798602bf21ccf3be027b8 | |
> git rev-list 38d59669aeb2bf5e26a798602bf21ccf3be027b8 # timeout=10 | |
Running: Write file to workspace | |
Running: Shell Script | |
[workspace] Running shell script | |
+ mvn -B -s settings.xml clean install -DskipTests | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building petclinic 1.0.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ spring-petclinic --- | |
[INFO] Deleting /var/jenkins_home/jobs/docker-workflow/workspace/target | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spring-petclinic --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 19 resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ spring-petclinic --- | |
[INFO] Changes detected - recompiling the module! | |
[INFO] Compiling 44 source files to /var/jenkins_home/jobs/docker-workflow/workspace/target/classes | |
[WARNING] bootstrap class path not set in conjunction with -source 1.6 | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ spring-petclinic --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 7 resources | |
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/docker-workflow/workspace/src/test/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ spring-petclinic --- | |
[INFO] Changes detected - recompiling the module! | |
[INFO] Compiling 6 source files to /var/jenkins_home/jobs/docker-workflow/workspace/target/test-classes | |
[WARNING] bootstrap class path not set in conjunction with -source 1.6 | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.13:test (default-test) @ spring-petclinic --- | |
[INFO] Tests are skipped. | |
[INFO] | |
[INFO] --- maven-war-plugin:2.3:war (default-war) @ spring-petclinic --- | |
[INFO] Packaging webapp | |
[INFO] Assembling webapp [spring-petclinic] in [/var/jenkins_home/jobs/docker-workflow/workspace/target/spring-petclinic-1.0.0-SNAPSHOT] | |
[INFO] Processing war project | |
[INFO] Copying webapp resources [/var/jenkins_home/jobs/docker-workflow/workspace/src/main/webapp] | |
[INFO] Webapp assembled in [273 msecs] | |
[INFO] Building war: /var/jenkins_home/jobs/docker-workflow/workspace/target/petclinic.war | |
[INFO] | |
[INFO] --- maven-install-plugin:2.4:install (default-install) @ spring-petclinic --- | |
[INFO] Installing /var/jenkins_home/jobs/docker-workflow/workspace/target/petclinic.war to /m2repo/org/springframework/samples/spring-petclinic/1.0.0-SNAPSHOT/spring-petclinic-1.0.0-SNAPSHOT.war | |
[INFO] Installing /var/jenkins_home/jobs/docker-workflow/workspace/pom.xml to /m2repo/org/springframework/samples/spring-petclinic/1.0.0-SNAPSHOT/spring-petclinic-1.0.0-SNAPSHOT.pom | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD SUCCESS | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 4.851 s | |
[INFO] Finished at: 2015-06-22T06:31:41+00:00 | |
[INFO] Final Memory: 23M/155M | |
[INFO] ------------------------------------------------------------------------ | |
Running: Run build steps inside a Docker container : Body : End | |
$ docker stop e9660557dee107b6d167c8d0f45afbaab49e9461896698053a2941f8e16196be | |
$ docker rm -f e9660557dee107b6d167c8d0f45afbaab49e9461896698053a2941f8e16196be | |
Running: Run build steps inside a Docker container : End | |
Running: Bake Docker image | |
Entering stage Bake Docker image | |
Proceeding | |
Running: Shell Script | |
[workspace] Running shell script | |
+ docker build -t examplecorp/spring-petclinic:jenkins-docker-workflow-2 . | |
Sending build context to Docker daemon 557.1 kB | |
Sending build context to Docker daemon 1.114 MB | |
Sending build context to Docker daemon 1.671 MB | |
Sending build context to Docker daemon 2.228 MB | |
Sending build context to Docker daemon 2.785 MB | |
Sending build context to Docker daemon 3.342 MB | |
Sending build context to Docker daemon 3.899 MB | |
Sending build context to Docker daemon 4.456 MB | |
Sending build context to Docker daemon 5.014 MB | |
Sending build context to Docker daemon 5.571 MB | |
Sending build context to Docker daemon 6.128 MB | |
Sending build context to Docker daemon 6.685 MB | |
Sending build context to Docker daemon 7.242 MB | |
Sending build context to Docker daemon 7.799 MB | |
Sending build context to Docker daemon 8.356 MB | |
Sending build context to Docker daemon 8.913 MB | |
Sending build context to Docker daemon 9.47 MB | |
Sending build context to Docker daemon 10.03 MB | |
Sending build context to Docker daemon 10.58 MB | |
Sending build context to Docker daemon 11.14 MB | |
Sending build context to Docker daemon 11.7 MB | |
Sending build context to Docker daemon 12.26 MB | |
Sending build context to Docker daemon 12.81 MB | |
Sending build context to Docker daemon 13.37 MB | |
Sending build context to Docker daemon 13.93 MB | |
Sending build context to Docker daemon 14.48 MB | |
Sending build context to Docker daemon 15.04 MB | |
Sending build context to Docker daemon 15.6 MB | |
Sending build context to Docker daemon 16.15 MB | |
Sending build context to Docker daemon 16.71 MB | |
Sending build context to Docker daemon 17.27 MB | |
Sending build context to Docker daemon 17.83 MB | |
Sending build context to Docker daemon 18.38 MB | |
Sending build context to Docker daemon 18.94 MB | |
Sending build context to Docker daemon 19.5 MB | |
Sending build context to Docker daemon 20.05 MB | |
Sending build context to Docker daemon 20.61 MB | |
Sending build context to Docker daemon 21.17 MB | |
Sending build context to Docker daemon 21.73 MB | |
Sending build context to Docker daemon 22.28 MB | |
Sending build context to Docker daemon 22.84 MB | |
Sending build context to Docker daemon 23.4 MB | |
Sending build context to Docker daemon 23.95 MB | |
Sending build context to Docker daemon 24.51 MB | |
Sending build context to Docker daemon 25.07 MB | |
Sending build context to Docker daemon 25.62 MB | |
Sending build context to Docker daemon 26.18 MB | |
Sending build context to Docker daemon 26.74 MB | |
Sending build context to Docker daemon 27.3 MB | |
Sending build context to Docker daemon 27.85 MB | |
Sending build context to Docker daemon 28.41 MB | |
Sending build context to Docker daemon 28.97 MB | |
Sending build context to Docker daemon 29.52 MB | |
Sending build context to Docker daemon 30.08 MB | |
Sending build context to Docker daemon 30.64 MB | |
Sending build context to Docker daemon 31.2 MB | |
Sending build context to Docker daemon 31.75 MB | |
Sending build context to Docker daemon 32.31 MB | |
Sending build context to Docker daemon 32.87 MB | |
Sending build context to Docker daemon 33.42 MB | |
Sending build context to Docker daemon 33.98 MB | |
Sending build context to Docker daemon 34.54 MB | |
Sending build context to Docker daemon 35.09 MB | |
Sending build context to Docker daemon 35.65 MB | |
Sending build context to Docker daemon 36.21 MB | |
Sending build context to Docker daemon 36.77 MB | |
Sending build context to Docker daemon 37.32 MB | |
Sending build context to Docker daemon 37.88 MB | |
Sending build context to Docker daemon 38.44 MB | |
Sending build context to Docker daemon 38.99 MB | |
Sending build context to Docker daemon 39.55 MB | |
Sending build context to Docker daemon 40.11 MB | |
Sending build context to Docker daemon 40.67 MB | |
Sending build context to Docker daemon 41.22 MB | |
Sending build context to Docker daemon 41.78 MB | |
Sending build context to Docker daemon 42.34 MB | |
Sending build context to Docker daemon 42.89 MB | |
Sending build context to Docker daemon 43.45 MB | |
Sending build context to Docker daemon 44.01 MB | |
Sending build context to Docker daemon 44.56 MB | |
Sending build context to Docker daemon 45.12 MB | |
Sending build context to Docker daemon 45.68 MB | |
Sending build context to Docker daemon 46.24 MB | |
Sending build context to Docker daemon 46.79 MB | |
Sending build context to Docker daemon 47.35 MB | |
Sending build context to Docker daemon 47.91 MB | |
Sending build context to Docker daemon 48.46 MB | |
Sending build context to Docker daemon 49.02 MB | |
Sending build context to Docker daemon 49.58 MB | |
Sending build context to Docker daemon 50.14 MB | |
Sending build context to Docker daemon 50.69 MB | |
Sending build context to Docker daemon 51.25 MB | |
Sending build context to Docker daemon 51.81 MB | |
Sending build context to Docker daemon 52.36 MB | |
Sending build context to Docker daemon 52.92 MB | |
Sending build context to Docker daemon 53.48 MB | |
Sending build context to Docker daemon 54.03 MB | |
Sending build context to Docker daemon 54.59 MB | |
Sending build context to Docker daemon 55.15 MB | |
Sending build context to Docker daemon 55.71 MB | |
Sending build context to Docker daemon 56.26 MB | |
Sending build context to Docker daemon 56.82 MB | |
Sending build context to Docker daemon 57.38 MB | |
Sending build context to Docker daemon 57.93 MB | |
Sending build context to Docker daemon 58.49 MB | |
Sending build context to Docker daemon 59.05 MB | |
Sending build context to Docker daemon 59.6 MB | |
Sending build context to Docker daemon 60.16 MB | |
Sending build context to Docker daemon 60.72 MB | |
Sending build context to Docker daemon 61.28 MB | |
Sending build context to Docker daemon 61.65 MB | |
Sending build context to Docker daemon | |
Step 0 : FROM tfennelly/tomcat7 | |
---> 4e4d96e8eb49 | |
Step 1 : ADD target/petclinic.war /tomcat7/webapps/petclinic.war | |
---> 02a19bb94f03 | |
Removing intermediate container 0a0bf7d278b2 | |
Successfully built 02a19bb94f03 | |
Running: Record trace of a Docker image used in FROM | |
Running: Shell Script | |
[workspace] Running shell script | |
+ docker tag --force=true examplecorp/spring-petclinic:jenkins-docker-workflow-2 docker.example.com/examplecorp/spring-petclinic:jenkins-docker-workflow-2 | |
Running: Shell Script | |
[workspace] Running shell script | |
+ docker push docker.example.com/examplecorp/spring-petclinic:jenkins-docker-workflow-2 | |
The push refers to a repository [docker.example.com/examplecorp/spring-petclinic] (len: 1) | |
Sending image list | |
Pushing repository docker.example.com/examplecorp/spring-petclinic (1 tags) | |
Image 511136ea3c5a already pushed, skipping | |
f3c84ac3a053: Pushing | |
f3c84ac3a053: Buffering to disk | |
time="2015-06-22T06:31:54Z" level=fatal msg="Received HTTP code 500 while uploading layer: \"<html>\\r\\n<head><title>500 Internal Server Error</title></head>\\r\\n<body bgcolor=\\\"white\\\">\\r\\n<center><h1>500 Internal Server Error</h1></center>\\r\\n<hr><center>nginx/1.9.0</center>\\r\\n</body>\\r\\n</html>\\r\\n\"" | |
Running: Sets up Docker registry endpoint : Body : End | |
Running: Sets up Docker registry endpoint : End | |
Running: Set environment variables : Body : End | |
Running: Set environment variables : End | |
Running: Allocate node : Body : End | |
Running: Allocate node : End | |
Running: End of Workflow | |
ERROR: script returned exit code 1 | |
Finished: FAILURE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment