-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
knjname
committed
May 3, 2014
1 parent
4d8534d
commit b760065
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,41 @@ | ||
|
||
# Jenkins over Docker example | ||
|
||
This project contains various files such as Dockerfile or related files, which forms a practical Jenkins master-slave configuration over Docker. | ||
|
||
## To build Jenkins master node | ||
|
||
``` | ||
#> bash master/dockerbuild.sh | ||
(An image knjname/jenkins-master will be registered.) | ||
``` | ||
|
||
### And to run | ||
|
||
``` | ||
#> bash master/dockerrun.sh | ||
(Note that /opt/jenkins-example will be automatically created.) | ||
``` | ||
|
||
You can see the Jenkins at http://your_docker_host:8080/ . | ||
|
||
## To build Jenkins master node | ||
|
||
``` | ||
#> bash slave/dockerbuild.sh | ||
(An image knjname/jenkins-slave will be registered.) | ||
``` | ||
|
||
### And to run | ||
|
||
``` | ||
#> bash slave/dockerrun.sh | ||
``` | ||
|
||
SSHD listens to your_docker_host:10022 . | ||
|
||
To connect between the master and the slave, you have to configure it manually via Jenkins administration menu. | ||
|
||
# See more details | ||
|
||
See my blog entry http://knjname.hateblo.jp/entry/2014/05/03/190842 (In Japanese) |