Skip to main content

Instructor-led training

Continuous Integration with Jenkins Training in Gary, Indiana

This hands-on course is a good introduction to using Jenkins effectively from start to finish.

What you'll learn

This hands-on course is a good introduction to using Jenkins effectively from start to finish. It teaches the principles of continuous integration and the knowledge of how to implement it with automated test execution using Jenkins. It makes a clear distinction between continuous integration, continuous delivery, and continuous deployment. Participants will use a local copy of Jenkins to create and run jobs, to link to a version control system, to run automated testing, and to generate development reports. In addition, participants will also learn how the interface works between Jenkins and Gradle and how to kick off Gradle scripts.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Gary, Indiana or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

This course is intended for Java developers who need to know how to use Jenkins to automatically deploy software into a testing environment.

Course Outline

This hands-on course is a good introduction to using Jenkins effectively from start to finish. It teaches the principles of continuous integration and the knowledge of how to implement it with automated test execution using Jenkins. It makes a clear distinction between continuous integration, continuous delivery, and continuous deployment. Participants will use a local copy of Jenkins to create and run jobs, to link to a version control system, to run automated testing, and to generate development reports. In addition, participants will also learn how the interface works between Jenkins and Gradle and how to kick off Gradle scripts.
 
Course Topics
• Introducing Continuous Integration and Jenkins
• Installing and Running Jenkins
• A Jenkins Job
• Advanced Jenkins
• Jenkins Plug-ins, specifically SonarQube
• Best Practices
 
Course Objectives
Upon completion of this course, participants will be able to:
• Install and configure Jenkins in a servlet container.
• Create Jenkins builds.
• Configure Jenkins to use Gradle (emphasized), Apache Ant, and Apache Maven.
• Use Jenkins to generate Java coding standards reports, code coverage reports, and change notices.
• Use the SonarQube plug-in to generate a report and to open and review how the information is organized.
 
 
Course Outline
 
I. Introducing Continuous Integration and Jenkins
A. Agile Development
B. Continuous Integration versus Continuous Delivery versus Continuous Deployment
C. History of Jenkins
D. State of the Jenkins Community
 
II. Installing and Running Jenkins Intro
A. Running Jenkins from the jar File
B. Installing Jenkins in a Servlet Container
C. Setup Security
D. Email and Version Control
E. Master/Slave Configurations
 
III. A Jenkins Job
A. Create a job
B. Configure a job
C. Run a job manually
D. Run a job when source code is checked into version control
E. Run a job on a regular schedule
 
IV. Advanced Jenkins
A. Monitor External Jobs
B. Distributed Builds
C. File Fingerprint Tracking
D. Using Jenkins for non-Java Projects
E. Matrix Projects
F. Splitting a Big Job into Smaller Jobs
G. Concept of a Pipeline
 
V. Jenkins Plug-ins
A. Change Reporting
B. Code Coverage
C. Static Analysis
D. Performance Reporting
E. Style Checking
 
VI. SonarQube Plug-in
A. Install the SonarQube Plug-in
B. Integrate Jenkins with SonarQube
C. Locate and Open Generated Report
D. Review the Report’s Organization
 
VII. Best Practices for Jenkins
A. Culture Change
1. Bring down the risk by incremental changes
2. Check in code daily
3. Fast feedback loop
B. Attend to broken builds
1. Build alerts email, pagers etc. on broken builds.
C. Write unit tests
1. Follow test pyramid
D. Re-use build Scripts across IDE and Jenkins
1. Leverage Gradle.
E. Use Discover Templates
 
VIII. Exercises
A. Lab 1
B. Lab 2
C. Lab 3
D. Lab 4

What makes continuous integration with Jenkins hard to master

Jenkins itself is easy to start. The harder part is deciding what the server should automate and keeping the results trustworthy. The syllabus builds up in this order:

  • Concepts first. The course begins with agile development and separates continuous integration, continuous delivery and continuous deployment. Teams often use these terms interchangeably, and that leads to pipelines that promise more than they check.
  • Running and securing the server. Participants run Jenkins from the jar file, install it in a servlet container, set up security, configure email and version control, and look at master/slave configurations. Most real-world problems with a shared build server start here, not in the build scripts.
  • Jobs and triggers. A job is created and configured, run manually, run when code is checked into version control, and run on a schedule. Each trigger has different failure behavior.
  • Scaling the setup. Advanced topics include distributed builds, matrix projects, file fingerprint tracking, monitoring external jobs, splitting a big job into smaller ones, using Jenkins for non-Java projects, and the concept of a pipeline.
  • Reports. Plug-ins cover change reporting, code coverage, static analysis, performance reporting and style checking. A dedicated SonarQube section covers installing the plug-in, integrating it with Jenkins, and opening and reading the generated report.

Two misconceptions are worth naming. First, a green build only means that the checks you configured passed. It says nothing about the checks you left out. Second, build logic does not belong inside Jenkins. The best-practices section recommends reusing build scripts across the IDE and Jenkins and leveraging Gradle, so a developer can reproduce a server build locally. Gradle is the build tool the course emphasizes. Apache Ant and Apache Maven are also covered.

Who this course suits and what to take around it

The course is aimed at Java developers who need to use Jenkins to build and test their code automatically. It is also useful to team leads who want to see how build automation is set up. It is a general-level, two-day course. It assumes you can read Java projects and build scripts, but it does not ask for prior Jenkins experience.

If your team is still learning the language, Fast Track to Java 25 and OO Development is a sensible earlier step. It gives developers the Java background they need to follow the unit tests and build output the Jenkins jobs run. Other Java options are listed on the Java Programming courses and learning guide page.

The best-practices section calls for writing unit tests and following the test pyramid. Your testing skills therefore determine how much value Jenkins adds. Organizations working with a different Java or tool version than the course default can ask about customized private training through a training proposal request.

Illustrative scenarios

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

  • Catching breakage on check-in. A team might configure a job to run when source code is checked into version control, run the automated tests through Gradle, and send build alerts to the developers when a build breaks. This ties to the version control triggers, the Gradle integration and the best practices on broken builds and fast feedback.
  • Making quality visible. For example, a maintenance group might add code coverage, static analysis and style checking reports to its jobs, then use the SonarQube plug-in to review how the generated report is organized. This ties to the plug-in and SonarQube sections.
  • Spreading builds across machines. A team whose single build machine has become a bottleneck might use distributed builds, split a large job into smaller ones, and use a matrix project to run the same job across several configurations. This ties to the advanced Jenkins topics and the master/slave configuration material.

AI coding assistants and Jenkins work

AI coding assistants can help with the text around a build. They can draft a Gradle script, suggest unit tests for a class, or explain a failing stack trace in the console output. They are a good way to get a first version of a build file that you then adjust.

They are weaker where the answer depends on your environment:

  • Plug-in and version details. Option names, plug-in behavior and menu paths differ between Jenkins and plug-in releases. An assistant may confidently describe a setting your installation does not have.
  • Security and credentials. Generated scripts can embed passwords or tokens, or suggest loosening security settings to make a job pass. Review these closely, especially in the security setup and version control integration.
  • Meaningful tests. Assistants often write tests that pass without checking much. A high coverage figure from such tests gives false assurance.

To verify, run the build from a clean checkout on the build server and locally with the same Gradle script. Read the console output rather than only the status color. Deliberately break a test to confirm the job fails and the alert fires. Check that coverage and static analysis reports reflect real findings.

Frequently asked questions

What level is this course and who should attend?

It is a general-level, two-day, hands-on course for Java developers who need to use Jenkins to build and test software automatically. No prior Jenkins experience is assumed.

Do I need to know Gradle, Maven or Ant beforehand?

The syllabus covers configuring Jenkins to use Gradle (emphasized), Apache Ant and Apache Maven, and it shows how Jenkins interfaces with Gradle and kicks off Gradle scripts. Being comfortable reading a Java project's build file will help you follow along.

What does the course cover?

Topics include continuous integration versus continuous delivery versus continuous deployment, installing and running Jenkins, creating and triggering jobs, distributed builds, matrix projects, reporting plug-ins (change reporting, coverage, static analysis, performance, style), the SonarQube plug-in, and best practices. The syllabus includes four labs.

Can this course be delivered privately, onsite or online?

Yes. HSG delivers private training for organizations at the client's location or live online.

Can the content be customized?

Private courses can be tailored, including to the technology versions your organization uses. You can describe your needs through a training proposal request.

Training locations

Continuous Integration with Jenkins training across the U.S. and beyond.

We provide private Continuous Integration with Jenkins training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Continuous Integration with Jenkins training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.