Continuous Deployment with Docker and Jenkins

The goal of this tutorial is to set up continuous and automatic deployment of an application with Jenkins on a Docker architecture. Continuous and automatic deployment is one of the key concepts of the DevOps movement. The purpose is to foster application industrialization by enabling a system to: test the application, build the container image, and deploy it to production. Prerequisites: Docker Docker-compose How It Works Our deployment system will use 4 layers to deploy the application to production: ...

April 14, 2018 路 5 min 路 Flavien Jourdren

Installing Jenkins

Jenkins is an open source continuous integration tool developed in Java. Adding Repositories to Install Java 8 Adding repositories: echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list Adding the package verification certificate: apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 Updating repositories: apt-get update Installing Java 8 Install the Java 8 package and accept its terms of use: apt-get install oracle-java8-installer Installing Jenkins We will use wget to download the Jenkins .war file: ...

April 6, 2018 路 1 min 路 Flavien Jourdren