8351  Reviews star_rate star_rate star_rate star_rate star_half

Continuous Integration with Maven, Jenkins and Artifactory

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...

Read More
$1,780 USD
Duration 3 days
Course Code WA2308
Available Formats Classroom

Overview

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.

Skills Gained

  • Download and install Maven
  • Build a project
  • Work with Maven's directory structure, plugins, repositories, and more
  • Understand the Project Object Model (POM)
  • Build a complete web application using Maven
  • Build and activate profiles
  • Use Maven from Eclipse via the m2eclipse plugin
  • 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.
  • Configure Maven and Jenkins to deploy the generated artifacts to Artifactory

Who Can Benefit

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

Prerequisites

Attendees should have familiarity Java development practices.

Course Details

Course Outline

Chapter 1. Introduction to Continuous Integration, Continuous Depoloyment and Jenkins-CI

  • Agile Development
  • Agile Development (cont'd)
  • What is Continuous Integration
  • What is Continuous Integration (cont'd)
  • What is Continous 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. Introduction to Apache Maven

  • Build Tools for Java
  • Build Tools for Java (cont'd)
  • History of Build Tools
  • Traditional Scripting
  • 'make'
  • Problems with Make
  • Manual Build with JavaC
  • ANT
  • Pros and Cons of Ant
  • Apache Maven
  • Goals of Maven
  • What is Apache Maven?
  • What is Apache Maven (cont'd)
  • Why Use Apache Maven?
  • The Maven EcoSystem
  • Consistent Easy-to-Understand Project Layout
  • Convention Over Configuration
  • Maven is Different
  • Maven Projects have a Standardized Build
  • Effect of Convention Over Configuration
  • Importance of Plugins
  • A Key Point on Maven!
  • Summary – Key Features of Maven

Chapter 3. Installing and Running Apache Maven

  • Downloading Maven
  • Installing Maven
  • Run From Command Line
  • Running Inside an IDE
  • Settings.xml
  • Local Repository
  • Summary

Chapter 4. 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
  • Summary

Chapter 5. 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 6. Getting Started With Maven

  • Terminology and Basic Concepts
  • Artifacts
  • Lifecycle
  • Default Lifecycle
  • Plugins
  • Running Maven - the Story So Far
  • Running Maven from an IDE
  • Common Goals
  • pom.xml
  • Example
  • Example (cont'd)
  • Artifact Coordinates
  • Standard Layout for Sources
  • Summary

Chapter 7. A Web Application in Maven

  • A More Complex Project
  • Putting it Together With Maven
  • Packaging the Target Artifact
  • The Source Tree
  • Dependencies
  • Transitive Dependencies
  • Dependency Scope
  • Working With Servers
  • Declaring and Configuring Plugins
  • Running the Plugin
  • Binding a Plugin Goal to the Lifecycle
  • Archetypes
  • Summary

Chapter 8. Commonly Used Plugins

  • Maven Plugins
  • Declaring and Configuring Plugins
  • Running the Plugin
  • Binding a Plugin Goal to the Lifecycle
  • Maven Surefire Test Plugin
  • Failsafe Plugin
  • Site Plugin
  • JavaDoc Plugin
  • PMD Plugin
  • Code Coverage – Cobertura
  • Summary

Chapter 9. Multi-Module Builds

  • Introduction
  • The Reactor
  • Reactor Sorting
  • Multi-Module Build by Example
  • Summary

Chapter 10. POM Projects

  • Project Object Model (POM)
  • The overall POM structure
  • Storing POM
  • Summary

Chapter 11. Writing Plugins (Maven)

  • What is Maven Plugin
  • Example of Using a Plugin
  • Create a Custom Plugin
  • Create a Custom Plugin (cont.)
  • Plugin Management
  • Summary

Chapter 12. Creating Archetypes

  • Introduction to Maven Archetypes
  • Introduction to Maven Archetypes (cont.)
  • Using Interactive Mode to generate Goal
  • Common Maven Archetypes
  • Summary

Chapter 13. Repository Management

  • Maven's Approach to Artifacts
  • Publishing Artifacts
  • Summary of Maven's Artifact Handling
  • Repository
  • Repository Manager
  • Proxy Remote Repositories
  • Types of Artifacts
  • Release Artifacts
  • Snapshot Artifacts
  • Reasons to Use a Repository Manager
  • Repository Coordinates
  • Addressing Resources in a Repository
  • Summary

Chapter 14. Release Management

  • What is release Management?
  • Release Management with Nexus
  • Release Management with Maven
  • Summary

Chapter 15. Jenkins Plugin

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

Chapter 16. 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 17. Distributed Builds with Jenkins

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

Chapter 18. Continuous Deployment and the Jenkins Pipeline

  • Continuous Deployment
  • Continuous Deployment (cont'd)
  • DevOps and Continuous Deployment
  • Continuous Deployment Challenges
  • Continuous Deployment with Jenkins
  • The Pipeline Plugin
  • The Pipeline Plugin (cont'd)
  • Defining a Pipeline
  • A Pipeline Example
  • Pipeline Example (cont'd)
  • Parallel Execution
  • Creating a Pipeline
  • Invoking the Pipeline
  • Interacting with the Pipeline
  • Conclusion

Chapter 19. 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

Lab Exercises

Lab 1. Configure Tools in Jenkins
Lab 2. Install Maven
Lab 3. Create a Maven Project
Lab 4. Create a Web Application from an Archetype
Lab 5. Add Web Site, Static Analysis, and Code Coverage
Lab 6. Create a Jenkins Job
Lab 7. A Multi-Module Project
Lab 8. Create a Standard Set of Dependencies
Lab 9. Write a Simple Maven Plugin
Lab 10. Create an Archetype
Lab 11. Create a Corporate Repository
Lab 12. Deploy to the Corporate Repository
Lab 13. Add Development Metrics
Lab 14. Create a Pipeline

  • Chapter 1. Introduction to Continuous Integration, Continuous Depoloyment and Jenkins-CI
  • Chapter 2. Introduction to Apache Maven
  • Chapter 3. Installing and Running Apache Maven
  • Chapter 4. Installing and Running Jenkins
  • Chapter 5. Job Types in Jenkins
  • Chapter 6. Getting Started With Maven
  • Chapter 7. A Web Application in Maven
  • Chapter 8. Commonly Used Plugins
  • Chapter 9. Multi-Module Builds
  • Chapter 10. POM Projects
  • Chapter 11. Writing Plugins (Maven)
  • Chapter 12. Creating Archetypes
  • Chapter 13. Repository Management
  • Chapter 14. Release Management
  • Chapter 15. Jenkins Plugin
  • Chapter 16. Securing Jenkins
  • Chapter 17. Distributed Builds with Jenkins
  • Chapter 18. Continuous Deployment and the Jenkins Pipeline
  • Chapter 19. Best Practices for Jenkins
  • Lab Exercises

Schedule

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

This was a good program to get prepared for the solutions architect associate exam.

Great company -- easy to sign up and very organized. Loved my teacher and class overall.

You get detailed labs to guide you through the technical material giving you a hands on method of learning otherwise difficult material.

Easy to use and exactly what I was looking for. Value for money was exceptional.

great class and packed with material, would have lived to spread it more into many days but overall very informative.