Training

 

 

Popular Courses

Browse Our Free Resources

  • whitepapers
  • whitepapers
  • webinars
  • blogs

Our Locations

Training Centres

Vancouver, BC
Calgary, AB
Edmonton, AB
Toronto, ON
Ottawa, ON
Montreal, QC
Hunt Valley
Columbia

locations map

Calgary

550 6th Av SW
Suite 475
Calgary, AB
T2P 0S2

Toronto

821A Bloor Street West
Toronto, ON
M6G 1M1

Vancouver

409 Granville St
Suite 902
Vancouver, BC
V6C 1T2

U.S. Office

436 York Road
Suite 1
Jenkintown, PA
19046

Other Locations

Dallas, TX
Miami, FL

Home > Training > Development Tools > Jenkins Training: Continuous Integration with Jenkins

Jenkins Training: Continuous Integration with Jenkins

Course#: WA2271
Courseware: Available for sale

This course provides training on the Jenkins Continuous Integration system. Students will install Jenkins on a Windows machine, create Jenkins jobs, setup Jenkins user-authentication, and explore commonly-used Jenkins plugins.

Jenkins is an award-winning application that monitors executions of repeated jobs, such as building a software project or jobs run by cron. Among those things, current Jenkins focuses on the following two jobs:

  • Building/testing software projects continuously.  Jenkins provides an easy-to-use so-called continuous integration system, making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. The automated, continuous build increases development productivity.
  • Monitoring executions of externally-run jobs, such as cron jobs and procmail jobs, even those that are run on a remote machine. For example, with cron, all you receive is regular e-mails that capture the output, and it is up to you to look at them diligently and notice when it broke. Jenkins keeps those outputs and makes it easy for you to notice when something is wrong.

This course will provide students with an understanding of the principles of continuous integration, and the knowledge of how to implement continuous integration with automated test execution using Jenkins.  Students will use a local copy of Jenkins and to create and run jobs, link to a version control system, run automated testing and generate development reports.

Objectives

In this training, attendees will learn how to:

  • Install and configure Jenkins in a servlet container
  • Create Jenkins builds
  • Configure and use Apache Ant and Apache Maven with Jenkins
  • Use Jenkins to generate Java coding standards reports, code coverage reports, and change notices

Use Jenkins to automatically deploy software into a testing environment.

Prerequisites

Attendees should have familiarity Java development practices.

Duration

2 Days

Outline of WA2271 Jenkins Training: Continuous Integration with Jenkins Training

Chapter 1 - Introduction to Continuous Integration, Continuous Deployment and Jenkins-CI

  • Agile Development
  • Agile Development (cont'd)
  • What is Continuous Integration
  • What is Continuous Integration (cont'd)
  • Typical Setup for Continuous Integration
  • Continuous Deployment
  • Continuous Deployment (cont'd)
  • DevOps and Continuous Deployment
  • Continuous Deployment Challenges
  • Jenkins Continuous Integration
  • Jenkins Features
  • Running Jenkins
  • Summary

Chapter 2 - Installing and Running Jenkins

  • Downloading and Installing Jenkins
  • Running Jenkins as a Stand-Alone Application
  • Running Jenkins as a Stand-Alone Application (cont'd)
  • Running Jenkins on an Application Server
  • The Jenkins Home Folder
  • Installing Jenkins as a Windows Service
  • Initial Configuration
  • Configuration Wizard
  • Configuration Wizard (cont'd)
  • Configuring Tools
  • Configuring Tools - Best Practices
  • Logging in Jenkins
  • Custom Log Recorders
  • Summary

Chapter 3 - Job Types in Jenkins

  • Introduction
  • Different types of Jenkins Items
  • Different types of Jenkins Items (cont'd)
  • Configuring Source Code Management(SCM)
  • Working with Subversion
  • Working with Subversion (cont'd)
  • Working with Git
  • Storing Credentials
  • Storing Credentials (cont'd)
  • Build Triggers
  • Schedule Build Jobs
  • Polling the SCM
  • Maven Build Steps
  • Summary

Chapter 4 - Advanced Jobs

  • Parameterized Jobs
  • Matrix Configuration
  • Monitoring External Jobs
  • Summary

Chapter 5 - Non-Java Jenkins Jobs

  • Jenkins Jobs
  • Non-Java Jobs
  • Building .NET Projects with Jenkins
  • Installing MSTest Plugin in Jenkins
  • Configuring the MSBuild Plugin
  • Creating a Jenkins Job and Specify a Build Step
  • Specifying a Step for Running Unit Tests
  • Adding a Step for Deploying the .NET Project
  • Building a Node.js Application with Jenkins
  • Node.js Plugin
  • Provides direct Pipeline supportBuilding a C++ Project with Jenkins
  • Executing PowerShell Scripts with Jenkins
  • Summary

Chapter 6 - Template Jobs

  • Parameterizing config.xml
  • The Template Projects Plugin
  • Summary

Chapter 7 - Continuous Delivery and the Jenkins Pipeline

  • Continuous Delivery
  • DevOps and Continuous Delivery
  • Continuous Delivery Challenges
  • Continuous Delivery with Jenkins
  • The Pipeline Plugin
  • The Pipeline Plugin (cont'd)
  • Defining a Pipeline
  • Introduction to Groovy
  • Groovy in Jenkins
  • Jenkins Script Console
  • A Pipeline Example
  • Pipeline Example (cont'd)
  • Parallel Execution
  • Creating a Pipeline
  • Invoking the Pipeline
  • Interacting with the Pipeline
  • Conclusion

Chapter 8 - Groovy DSL

  • What is Groovy
  • Groovy in Jenkins
  • Comments in Groovy
  • Data Types
  • Identifiers
  • Variables
  • def
  • String Interpolation
  • Operators
  • Ranges
  • Conditional Statements
  • Loops
  • Lists
  • Maps
  • Exception Handling
  • Methods
  • Closures
  • this Keyword
  • Classes
  • Static Methods
  • Inheritance
  • Abstract Classes
  • Interfaces
  • Generics
  • Jenkins Script Console
  • Extending with Shared Libraries
  • Directory Structure
  • Sample Groovy Code
  • Defining Shared Libraries
  • Using Shared Library
  • Same Shared Library Usage Code
  • Defining Global Variables
  • Summary

Chapter 9 - Securing Jenkins

  • Jenkins Security - Overview
  • Jenkins Security
  • Authentication
  • Authorization
  • Confidentiality
  • Activating Security
  • Configure Authentication
  • Using Jenkins's Internal User Database
  • Creating Users
  • Authorization
  • Matrix-Based Security
  • Note – Create the Administrative User
  • Project-based Matrix Authorization
  • Project-Based Authentication
  • Conclusion

Chapter 10 - Jenkins Plugin

  • Introduction
  • Jenkins Plugins - SCM
  • Jenkins Plugins – Build and Test
  • Jenkins Plugins – Analyzers
  • Jenkins for Teams
  • Installing Jenkins Plugins
  • Summary

Chapter 11 - Distributed Builds with Jenkins

  • Distributed Builds - Overview
  • Distributed Builds – How?
  • Slave Machines
  • Configure Jenkins Master
  • Configure Projects
  • Conclusion

Chapter 12 - Containerized Builds

  • Introduction to Docker
  • The Jenkins Docker Plugin
  • Configuration for Docker
  • Using Docker Builds Slaves
  • Summary

Chapter 13 - The Jenkins API

  • The Remote Access API
  • Jenkins Command Line Interface
  • Jenkins SSH Interface
  • Using the 'curl' Utility
  • Summary

Chapter 14 - Scripting

  • Introduction to Scripting
  • The Jenkins Script Console
  • Calling Scripts from a Job
  • Jenkins Architecture
  • Using Jenkins Objects in a Script
  • Using Scripts in Build Jobs
  • The Scriptler Plugin
  • Summary

Chapter 15 - User Interface Options

  • User Interface Options
  • Customizing the UI with CSS
  • The User Content Folder
  • Plugins - A Sample of User Interface Plugins
  • Writing a Jenkins Plugin
  • The Blue Ocean Plugin
  • Summary

Chapter 16 - Best Practices for Jenkins

  • Best Practices - Secure Jenkins
  • Best Practices - Backups
  • Best Practices - Reproducible Builds
  • Best Practices - Testing and Reports
  • Best Practices - Large Systems
  • Best Practices - Distributed Jenkins

Best Practices - Summary

We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
*Your name:

*Your e-mail:

*Phone:

*Company name:

Additional notes:

We have received your message. A sales representative will contact you soon.

Thank you!.

more details
buy this course
Other Details

Register for a courseware sample

It's simple, and free.

 

Thank You!

You will receive an email shortly containing a link to download the requested sample of the labs for this course.