4.29 out of 5
4.29
1620 reviews on Udemy

Learn DevOps: CI/CD with Jenkins using Pipelines and Docker

Use Jenkins the DevOps way. Automate your Jenkins jobs by using Jenkins Pipelines, Docker, and the Jenkins Job DSL
Instructor:
Edward Viaene
10,406 students enrolled
English More
Use Jenkins to perform Continuous Integration within your Software Development Lifecycle
Install Jenkins using docker
Configure Jenkins “The DevOps way”, using Docker, Jobs DSL and Jenkins Pipelines
Use plugins to integrate Jenkins with popular development software
Configure the authentication and authorization options to tighten security on your Jenkins UI

Jenkins is the most popular tool to do Continuous Integration and Continuous Delivery of your software:

  • It’s free and open source
  • It has a strong community with thousands of plugins you can use
  • Jenkins is used in a lot of companies, from startups to enterprises

This course will teach you how to use Jenkins using the Jenkins DSL and Jenkins Pipelines (Jenkinsfile). It’s a new way of using Jenkins, rather than using freestyle projects. I call it using Jenkins, the DevOps way! I’ll explain you about infrastructure as code and automation to make sure you understand how Jenkins Pipelines fits within this new way of thinking. 

I’ll show you how to integrate Jenkins Pipelines with popular software tools, like:

  • Docker
  • GitHub / Bitbucket
  • JFrog Artifactory
  • SonarQube
  • Onelogin (Using SAML)

If you’re looking for a job in the DevOps space, Jenkins is a must have skill.

coupon to get $10 free credits on DigitalOcean is provided within this course. You can use this coupon to install Jenkins on a DigitalOcean droplet.

Introduction

1
Introduction

Introduction to the Jenkins Course

2
Practical information

Practical information for the Jenkins course

3
Procedure Document

Procedure document with practical information, installation manual, and links to other resources

4
Course Goals

This course is a bit different than other Jenkins courses around

  • It has all to do with DevOps
    • This course has a big focus on automation, ownership and reusability
    • The developers are given the capability to automate their own jenkins build scripts by using Jenkins Pipelines
    • Using docker, a closer dev-prod parity should allow you to build software the same way locally, as on the build servers

Introduction to Jenkins

1
What is Jenkins (Part I)

Lecture explaining what Jenkins is

2
What is Jenkins (Part II)

Part II of lecture explaining what Jenkins is

3
Jenkins Installation

The Jenkins installation explained. Jenkins can be installed using docker on a DigitalOcean Droplet.

4
Demo: Jenkins installation

A demo of how to install Jenkins on a DigitalOcean Droplet using Docker

5
Introduction to Docker

A lecture giving you an overview of what Docker is.

Building a NodeJS app

1
Why a NodeJS application?

I will be using a NodeJS example application for our first job in Jenkins. This lecture explains why I'm using NodeJS.

2
How to build and deploy a NodeJS app

How to build and deploy a NodeJS app with npm.

3
1.7 Demo - Building the first application

Building a NodeJS app in Jenkins with the NodeJS Plugin

4
Demo - building nodejs app with Docker

This lecture explains how to package the NodeJS app we just built, as a docker image, and push it to Docker Hub.

Infrastructure as code and automation

1
Introduction to Infrastructure as code and automation

This lecture gives an introduction to infrastructure as code and automation. It helps frame why you should be using the Jenkins Job DSL / Pipelines rather than freestyle projects.

Jenkins Job DSL

1
Introduction to Jenkins Job DSL

This lecture gives an introduction of the Jenkins Job DSL

2
Demo: Jenkins Job DSL with NodeJS application

A demo that shows how to use the Jenkins Job DSL with a NodeJS app

3
Demo: Jenkins Job DSL with docker build and publish

A demo of the Job DSL using docker build and publish functionality

Jenkins Pipelines

1
Jenkins Pipelines Introduction

An introduction to the Jenkins Pipelines (using the Jenkinsfile)

2
Jenkins Pipelines vs Jenkins Job DSL

What is the difference between Jenkins Pipelines and the Job DSL

3
Jenkins Pipelines Example

A Jenkins Pipeline example explained, using Java and Maven

4
Demo: Jenkins pipelines with NodeJS and Docker

A demo of the Jenkins Pipeline using NodeJS

5
Build, test, and run everything in Docker containers

How to run the whole pipeline build in Docker containers

6
Demo: Build, test, and run everything in Docker containers

A demo showing you how you can run your whole Jenkins Pipeline in docker containers

Jenkins Integrations

1
Email integration

This lecture shows you how to send email notifications in Jenkins

2
Demo - Email integrations using Jenkins Pipelines

A demo of how to integrate email alerts when a job fails in Jenkins

3
Slack integration

A lecture explaining the integration of Jenkins with Slack

4
Demo: Slack Integration

This demo shows you how to setup a slack notification that will send a message to a Slack channel when a build fails.

5
GitHub and BitBucket integration

This lecture explains how you can integrate GitHub and BitBucket with Jenkins

6
Demo: GitHub integration with a Gradle + Java Project

This demo explains how to build a Gradle + Java project with the GitHub integration

7
Demo: Bitbucket integration

This demo shows the same gradle project, but now on Bitbucket

8
JFrog Artifactory integration

Where to keep your Artifacts? A lecture on how to integrate Artifactory

9
Demo: JFrog Artifactory integration

A demo showing how to integrate JFrog Artifactory with Jenkins

10
Custom API Integration

Sometimes there are no plugins available for the integration you want, but there is still an option to write your own Custom API integration.

11
Demo: Custom API Integration

A demo on how the BitBucket API can be integrated within a Jenkins Pipeline.

12
Sonarqube integration

If you want to continuously check on code quality, SonarQube should be integrated within Jenkins.

13
Demo: Sonarqube installation with docker-compose

This demo shows you how to install Sonarqube on your DigitalOcean droplet

14
Demo: SonarQube integration within Jenkins Pipelines

This demo explains how to scan your project and send the results to the SonarQube server.

Advanced Jenkins usage

1
Introduction to Jenkins Slaves

How to scale Jenkins? You can add more worker nodes! This lecture explains you how and why.

2
Jenkins Slaves benefits and best practices

The benefits and the best practices of using Jenkins worker nodes (Jenkins Slaves). The do's and don'ts

3
Demo - Jenkins slave using SSH

This demo shows you how to set up a slave using SSH on the slave.

4
Demo: Jenkins slave using jnlp

Windows nodes can best be set up with JNLP. This demo explains you how to setup a windows slave and a Linux slave, both with JNLP.

5
Blue Ocean

The new Jenkins UI is called Blue Ocean. This lecture tells you everything about it.

6
Demo - Blue Ocean

This demo shows you how to activate and use Blue Ocean

7
ssh-agent

This lecture explains the usage of ssh-agent within Jenkinsfiles. It's always best to use ssh-agent/credentials rather than manually putting the credentials/keys in place.

8
demo: ssh agent

This demo shows you how to use the ssh-agent to make custom git calls to github/bitbucket.

9
Security best practices

Take into account these security best practices to keep your Jenkins secure.

10
Authentication and authorization

This lecture explains the differences between authentication and authorization

11
Demo: authorizations

A demo explaining how authorizations work in Jenkins

12
Authentication Providers for Jenkins

You can plugin authentication providers into Jenkins rather than saving the login and password in a local database. This lecture talks about OneLogin, LDAP, ActiveDirectory (AD), and SAML

13
Demo: Onelogin Integration with Jenkins using SAML

A demo on how to integrate Onelogin with Jenkins using SAML

The end

1
Congratulations on completing this course

Congratulations on completing the course

2
Bonus Lecture

This bonus lecture showcases my other courses

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.3
4.3 out of 5
1620 Ratings

Detailed Rating

Stars 5
640
Stars 4
657
Stars 3
257
Stars 2
40
Stars 1
29
3e8ca72819ca3a8a3772925b5a1470d4
30-Day Money-Back Guarantee

Includes

5 hours on-demand video
1 article
Full lifetime access
Access on mobile and TV
Certificate of Completion