This project is used to run a docker container which includes Jenkins, Docker(docker in docker 😎) and Google Cloud SDK.
To get it working
-
Maker sure your computer have docker installed
-
Clone the project
-
Inside the project's root directory, run the following command
. ./run-jenkins.sh
docker-jenkins-start
Wait unitl the container is running, the Jenkins server is hosted at localhost:9090.
- Set up initial admin password
Jenkins will ask you for an initial admin password the first time your visit it. To get the password
docker exec -it jenkins bash
cat /var/jenkins_home/secrets/initialAdminPassword
- Click install recommended plugins
Now you can start playing around with the Jenkins server. To see how to use it to do autmoate testing and deployment, click this simple demo project.