Skip to content

conology/docker-jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-jenkins

Wordpress with Jenkins and Docker

Install local development environment (Win)

  1. open cmd under Windows
  2. exectue 'install_dev_env.cmd'
  3. approx 20 sek after the scrip has finished execute 'docker container logs jenkins-blueocean'
  4. copy the token
  5. open 'localhost:1000' and insert the token
  6. install standard plugins
  7. add admin account via dialog
  8. jenkins url is 'http://localhost:1000/'
  9. hit "Start using Jenkins"

Create pipeline for the docker-jenkins project

  1. klick "Open Blue Ocean" at the left bar
  2. "Create a new pipeline"
  3. "Github"
  4. "Create an access token here."
  5. Log in to github, give the token a name, hit enter, copy the token
  6. insert the token in jenkins and hit "Connect"
  7. choose "conoloy"
  8. choose "docker-jenkins"
  9. klick "create pipeline"

Run local development environment (Win)

  1. open cmd under Windows
  2. exectue 'install_dev_env.cmd'

Check the images created

  1. 'docker exec -it jenkins-docker /bin/sh
  2. 'docker images'

Next steps

Create a seperate pipeline to deploy the images created to aws Tutorial on that: https://medium.com/@sachin34268/deploy-docker-containers-on-aws-ecs-cluster-via-jenkins-605eee0d22b0

About

Wordpress with jenkins and docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published