Continuous Integration with Maven, Jenkins, and Nexus

This Continuous Integration with Maven, Jenkins, and Nexus training class will provide students with an understanding of the Apache Maven build process, the principles of continuous integration, and the knowledge of how to implement continuous integration with automated test execution using Jenkins, Maven, and the Sonatype Nexus OSS repository manager. Students will use a local copy of Jenkins and to create and run Maven jobs, link to a version control system, run automated testing and generate development reports, and configure the system to log build reports and generated artifacts to a Nexus repository.

This course is targeted to developers who will implement Continuous Integration using Maven, Jenkins, and the Nexus repository manager. Students learn to create Maven projects, configure Jenkins to build those projects, and manage the artifacts using Nexus.

Goals
  1. Download and install Maven
  2. Build a project
  3. Work with Maven's directory structure, plugins, repositories, and more
  4. Understand the Project Object Model (POM)
  5. Build a complete web application using Maven
  6. Build and activate profiles
  7. Use Maven from Eclipse via the m2eclipse plugin
  8. Install and configure Jenkins in a servlet container
  9. Create Jenkins builds
  10. Configure and use Apache Ant and Apache Maven with Jenkins
  11. Use Jenkins to generate Java coding standards reports, code coverage reports, and change notices
  12. Use Jenkins to automatically deploy software into a testing environment.
  13. Configure Maven and Jenkins to deploy the generated artifacts to Nexus
Outline
  1. Introduction to Continuous Integration, Continuous Delivery and Jenkins-CI
    1. Foundation of Agile AppDev
    2. XP Flow
    3. Extreme Programming
    4. Agile Development
    5. What is Continuous Integration
    6. What is Continuous Integration (cont'd)
    7. Typical Setup for Continuous Integration
    8. Setup Notes for Continuous Integration
    9. CI with Artifact Management
    10. What is Continuous Delivery?
    11. Why Continuous Delivery?
    12. DevOps and Continuous Delivery
    13. Continuous Delivery Challenges
    14. Continuous Delivery vs Continuous Deployment
    15. Jenkins Continuous Integration
    16. Jenkins Features
    17. Running Jenkins
    18. Summary
  2. Introduction to Apache Maven
    1. Build Tools for Java
    2. Build Tools for Java (cont'd)
    3. History of Build Tools
    4. Traditional Scripting
    5. 'make'
    6. Problems with Make
    7. Manual Build with JavaC
    8. ANT
    9. Pros and Cons of Ant
    10. Apache Maven
    11. Goals of Maven
    12. What is Apache Maven?
    13. What is Apache Maven (cont'd)
    14. Why Use Apache Maven?
    15. The Maven EcoSystem
    16. Consistent Easy-to-Understand Project Layout
    17. Convention Over Configuration
    18. Maven is Different
    19. Maven Projects have a Standardized Build
    20. Effect of Convention Over Configuration
    21. Importance of Plugins
    22. A Key Point on Maven!
    23. Summary – Key Features of Maven
  3. Installing and Running Apache Maven
    1. Downloading Maven
    2. Installing Maven
    3. Run From Command Line
    4. Running Inside an IDE
    5. Settings.xml
    6. Local Repository
    7. Summary
  4. Installing and Running Jenkins
    1. Downloading and Installing Jenkins
    2. Running Jenkins as a Stand-Alone Application
    3. Running Jenkins as a Stand-Alone Application (cont'd)
    4. Running Jenkins on an Application Server
    5. The Jenkins Home Folder
    6. Installing Jenkins as a Windows Service
    7. Initial Configuration
    8. Configuration Wizard
    9. Configuration Wizard (cont'd)
    10. Configuring Tools
    11. Configuring Tools - Best Practices
    12. Logging in Jenkins
    13. Custom Log Recorders
    14. Summary
  5. Job Types in Jenkins
    1. Introduction
    2. Different types of Jenkins Items
    3. Different types of Jenkins Items (cont'd)
    4. Configuring Source Code Management(SCM)
    5. Working with Subversion
    6. Working with Subversion (cont'd)
    7. Working with Git
    8. Storing Credentials
    9. Service Accounts
    10. Storing Credentials (cont'd)
    11. Build Triggers
    12. Schedule Build Jobs
    13. Polling the SCM
    14. Polling vs Triggers
    15. Maven Build Steps
    16. Summary
  6. Getting Started With Maven
    1. Terminology and Basic Concepts
    2. Artifacts
    3. Lifecycle
    4. Default Lifecycle
    5. Plugins
    6. Running Maven - the Story So Far
    7. Running Maven from an IDE
    8. Common Goals
    9. pom.xml
    10. Example
    11. Example (cont'd)
    12. Artifact Coordinates
    13. Standard Layout for Sources
    14. Summary
  7. A Web Application in Maven
    1. A More Complex Project
    2. Putting it Together With Maven
    3. Packaging the Target Artifact
    4. The Source Tree
    5. Dependencies
    6. Transitive Dependencies
    7. Dependency Scope
    8. Working With Servers
    9. Declaring and Configuring Plugins
    10. Running the Plugin
    11. Binding a Plugin Goal to the Lifecycle
    12. Archetypes
    13. Summary
  8. Commonly Used Plugins
    1. Maven Plugins
    2. Declaring and Configuring Plugins
    3. Running the Plugin
    4. Binding a Plugin Goal to the Lifecycle
    5. Maven Surefire Test Plugin
    6. Failsafe Plugin
    7. Site Plugin
    8. JavaDoc Plugin
    9. PMD Plugin
    10. Code Coverage – Cobertura
    11. Summary
  9. Multi-Module Builds
    1. Introduction
    2. The Reactor
    3. Reactor Sorting
    4. Multi-Module Build by Example
    5. Summary
  10. POM Projects
    1. Project Object Model (POM)
    2. The overall POM structure
    3. Storing POM
    4. Summary
  11. Writing Plugins (Maven)
    1. What is Maven Plugin
    2. Example of Using a Plugin
    3. Create a Custom Plugin
    4. Create a Custom Plugin (cont.)
    5. Plugin Management
    6. Summary
  12. Creating Archetypes
    1. Introduction to Maven Archetypes
    2. Introduction to Maven Archetypes (cont.)
    3. Using Interactive Mode to generate Goal
    4. Common Maven Archetypes
    5. Summary
  13. Repository Management
    1. Maven's Approach to Artifacts
    2. Publishing Artifacts
    3. Summary of Maven's Artifact Handling
    4. Repository
    5. Repository Manager
    6. Proxy Remote Repositories
    7. Types of Artifacts
    8. Release Artifacts
    9. Snapshot Artifacts
    10. Reasons to Use a Repository Manager
    11. Repository Coordinates
    12. Addressing Resources in a Repository
    13. Summary
  14. Release Management
    1. What is release Management?
    2. Release Management with Nexus
    3. Release Management with Maven
    4. Summary
  15. Jenkins Plugins
    1. Introduction
    2. Jenkins Plugins - SCM
    3. Jenkins Plugins – Build and Test
    4. Jenkins Plugins – Analyzers
    5. Jenkins for Teams
    6. Installing Jenkins Plugins
    7. Summary
  16. Securing Jenkins
    1. Jenkins Security - Overview
    2. Jenkins Security
    3. Authentication
    4. Authorization
    5. Confidentiality
    6. Activating Security
    7. Configure Authentication
    8. Using Jenkins's Internal User Database
    9. Creating Users
    10. Authorization
    11. Matrix-Based Security
    12. Note – Create the Administrative User
    13. Project-based Matrix Authorization
    14. Project-Based Authentication
    15. Role Based Access Control
    16. Conclusion
  17. Distributed Builds with Jenkins
    1. Distributed Builds - Overview
    2. Distributed Builds – How?
    3. Agent Machines
    4. Configure Jenkins Master
    5. Configure Projects
    6. Conclusion
  18. Continuous Delivery and the Jenkins Pipeline
    1. Continuous Delivery
    2. Continuous Delivery (cont'd)
    3. DevOps and Continuous Delivery
    4. Continuous Delivery Challenges
    5. Continuous Delivery with Jenkins
    6. The Pipeline Plugin
    7. The Pipeline Plugin (cont'd)
    8. Defining a Pipeline
    9. A Pipeline Example
    10. Pipeline Example (cont'd)
    11. Parallel Execution
    12. Creating a Pipeline
    13. Invoking the Pipeline
    14. Interacting with the Pipeline
    15. Pipeline vs Traditional Jobs
    16. Conclusion
  19. Best Practices for Jenkins
    1. Best Practices - Secure Jenkins
    2. Best Practices - Users
    3. Best Practices - Backups
    4. Best Practices - Reproducible Builds
    5. Best Practices - Testing and Reports
    6. Best Practices - Large Systems
    7. Best Practices - Distributed Jenkins
    8. Best Practices - Summary
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this Jenkins class:

  • Familiarity with Java development practices.
Preparing for Class

Training for your Team

Length: 3 Days
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors

What people say about our training

The Webucator Spring MVC course is put together well, and taught me a lot of detail over the course of a week. I have not been able to learn this much information in a single week in a long time. The information and labs is well planned out and makes learning the content easy.
Walter Bandy
Federal Reserve Bank of St. Louis
The course was just what I needed from an intro course. Answered my questions and gave me a background to move forward with HTML5.
Daniel Scanlan
American Water
Loved the class and the instructor was great!
Tiffaney Jiles
Keystone Industries
Webucator was a great training program! I truly received one-on-one instruction and attention from the instructor! Would definitely take another course here again. Thank you!
Michelle Brauner
The MITRE Corporation

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

61,268

Students who have taken Instructor-led Training

11,739

Organizations who trust Webucator for their Instructor-led training needs

100%

Satisfaction guarantee and retake option

9.29

Students rated our trainers 9.29 out of 10 based on 29,151 reviews

Contact Us or call 1-877-932-8228