zaichaopan / Jenkins-Docker-GoogleSDK

Jenkins + Docker + Google cloud SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jenkins + Docker + Google Cloud SDK

This project is used to run a docker container which includes Jenkins, Docker(docker in docker 😎) and Google Cloud SDK.

To get it working

  1. Maker sure your computer have docker installed

  2. Clone the project

  3. 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.

  1. 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
  1. 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.

About

Jenkins + Docker + Google cloud SDK


Languages

Language:Dockerfile 92.1%Language:Shell 7.9%