Skip to content

Commit 9058fc1

Browse files
committed
Small fixes
1 parent f332688 commit 9058fc1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

developer-tools/java/chapters/ch09-cicd.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,13 @@ sudo docker-compose -p app-$BUILD_NUMBER --file src/test/resources/docker-compos
107107
. 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.
108108
====
109109

110-
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.
110+
111+
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.
111112

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

114-
10. If the build is successfull, you should see this on the build console output:
115+
116+
10 . If the build is successfull, you should see this on the build console output:
115117

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

0 commit comments

Comments
 (0)