Jenkins CI/CD Server

How you configure a Jenkins server as a continuous integration (CE) and deployment server (CD)

Jenkins is the most popular CI/CD server and considered to be the industrial standard. We uses it ourselves to build Groovy Grails web apps, run through all tests, build a WAR file and automagically deploy the updated version on a Tomcat server, running on a EC2 server in the Amazon cloud AWS. Of course, we will share our own experiences and best practices.

In this course you will learn how to install and configure the Jenkins server, create build jobs, install and configure numerous popular plugins and much more. The course addresses everyone that is working with system development and want to quickly get up and running with their own server.

This is what you will learn
  • What is a CI/CD server
  • Installation and configuration of Jenkins
  • Create simple build jobs
  • Create linked build jobs
  • Configure a GitHub trigger and similar tasks
  • Recommended plugins and how to install/configure them
  • Management of server passwords and logon certificates
Course Contents

Background and Overview

  • What is a CI server
  • Typical tasks for a CI server
  • Some common CI servers
  • The history behind Hudson, that became Jenkins

Installation and Configuration of Jenkins

  • Running Jenkins stand-alone on Windows
  • Installing Jenkins at Ubuntu Linux
  • Jenkins directory structure
  • Common configuration files
  • Typical initial plugin configuration
  • Setting up mail notification

Creating Build Jobs

  • Jobs view
  • Jobs output
  • Jobs workspace
  • BASH jobs
  • Configuration of various support system plugins, such as Java, Groovy, Grails, Ant, Maven, Gradle and more
  • Creating a job using a Java build tool, such as Ant, Gradle and Maven
  • Linked jobs, using forward or backward links

Plugins

  • What is a Jenkins plugin
  • Where to find plugins
  • Different ways to install plugins
  • Presetation of some useful plugins

Credentials

  • What is a credential
  • Using the credential manager and why it is important to do so
  • Using SSH or SCP access to a remote system
  • Using secret text in build jobs

Working with VCS/SCM Systems

  • What is build trigger
  • Overview of SCM plugins
  • GitLab configuration
  • Polling SCM
  • Pushing from SCM
  • Restricting to a branch
  • SSH vs. HTTPS when accessing a SCM

Pipeline Build Jobs

  • Build job configuration as a source code
  • What is a Jenkins-2 pipeline job
  • Groovy configuration
  • Using a Jenkinsfile checked in to SCM
  • Pipeline vocabulary
  • Groovy pipeline DSL
  • The Groovy snippet generator
  • Pipeline build view
  • The Blue Ocean plugin

Build Tools

  • Typical build tools
  • Build tools for JVM, JS and C/C++
  • Tool configuration
  • Using CMake to build C++ applications
  • Using GulpJS to build NodeJS applications
  • Refering to a tool in a pipeline job

Deployment

  • Various forms of deployment
  • Deployment of web files
  • Deployment to a servlet container, such as Tomcat
  • Guidelines for non-interactive BASH scripts
  • Fetching and executinh an install script from a GIT repo
  • Launching a EC2 cloud server, in AWS
  • Installing a Jenkins server on EC2

Security

  • What is Jenkins security
  • Restricting access to HTTPS only
  • Nginx as a forwarding proxy
  • Using AWS ELB as a HTTPS front-end to a Jenkins EC2
  • Authentication in Jenkins
  • Authorization in Jenkins
Facts
NameJenkins CI/CD Server
Duration 1 Days
LevelBeginner
AudienceSoftware developersd
PrerequisitesProgramming experience
Tools
  • Ubuntu Linux @ VirtualBox or WSL @ Windows-10
  • Java JDK
  • Jenkins
Price11 000 kr + moms 11000
Course Dates
DatePlace
Loading course dates...
Same-Company Discout

We offer a 20% discount for additional participants from the same company and at the same course date. Read more here.

On-Site Course

If you order an On-Site course, we will come to you and hold the course in your office. The price is determined by our price model and is based on the number of course days, number of participants and any travel and lodging.

Read more about out price modell and term of sales here.

Related Courses
CourseDaysLevel
Apache Ant1 BeginnerShow
Maven1Beginner Show
Gradle 2BeginnerShow
GulpJS 2BeginnerShow
Make 1IntermediateShow