Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianenardon committed Apr 8, 2017
1 parent f332688 commit 9058fc1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions developer-tools/java/chapters/ch09-cicd.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,13 @@ sudo docker-compose -p app-$BUILD_NUMBER --file src/test/resources/docker-compos
. We are running the commands with sudo because we are actually running the Docker socket on the host. Jenkins runs with the jenkins user and we added the jenkins user to the sudoers list in our image. Obviously, this can have security consequences in a production environment, since one could create a build that would access root level services on the host. You can avoid this by configuring the jenkins user on the host, so it will have access to the Docker socket and then run the commands without sudo.
====

9. Save the build and then click on Build now to run it. You should see a progress bar when the build is running. You can click on the progress bar to see the build console output.

9 . Save the build and then click on `Build now` to run it. You should see a progress bar when the build is running. You can click on the progress bar to see the build console output.

image::docker-ci-cd-06.png[]

10. If the build is successfull, you should see this on the build console output:

10 . If the build is successfull, you should see this on the build console output:

image::docker-ci-cd-07.png[]

Expand Down

0 comments on commit 9058fc1

Please sign in to comment.