Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

Continuous Integration with Maven, Jenkins & Artifactory

( Duration: 3 Days )

This Continuous Integration with Maven, Jenkins & Artifactory training course will provide 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 Artifactory repository manager. You 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 an Artifactory repository.

By attending Continuous Integration with Maven, Jenkins & Artifactory workshop, delegates will learn to:

  • 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

  • Familiarity with Java development practices.
  • This Continuous Integration with Maven, Jenkins & Artifactory class is targeted to developers who will implement Continuous Integration using Maven, Jenkins and the Artifactory repository manager.

COURSE AGENDA

1

Introduction to Continuous Integration, Continuous Depoloyment and Jenkins-CI

  • Agile Development
  • What is Continuous Integration
  • Typical Setup for Continuous Integration
  • Continuous Deployment
  • DevOps and Continuous Deployment
  • Continuous Deployment Challenges
  • Jenkins Continuous Integration
  • Jenkins Features
  • Running Jenkins
2

Introduction to Apache Maven

  • Build Tools for Java
  • 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?
  • 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!
3

Installing and Running Apache Maven

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

Installing and Running Jenkins

  • Downloading and Installing Jenkins
  • Running Jenkins as a Stand-Alone Application
  • Running Jenkins on an Application Server
  • The Jenkins Home Folder
  • Installing Jenkins as a Windows Service
  • Initial Configuration
  • Configuration Wizard
  • Configuring Tools
  • Configuring Tools - Best Practices
5

Job Types in Jenkins

  • Introduction
  • Different types of Jenkins Items
  • Configuring Source Code Management(SCM)
  • Working with Subversion
  • Working with Git
  • Storing Credentials
  • Build Triggers
  • Schedule Build Jobs
  • Polling the SCM
  • Maven Build Steps
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
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
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
9

Multi-Module Builds

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

POM Projects

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

Writing Plugins (Maven)

  • What is Maven Plugin
  • Example of Using a Plugin
  • Create a Custom Plugin
  • Plugin Management
12

Creating Archetypes

  • Introduction to Maven Archetypes
  • Using Interactive Mode to generate Goal
  • Common Maven Archetypes
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
14

Release Management

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

Jenkins Plugin

  • Introduction
  • Jenkins Plugins - SCM
  • Jenkins Plugins – Build and Test
  • Jenkins Plugins – Analyzers
  • Jenkins for Teams
  • Installing Jenkins Plugins
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
17

Distributed Builds with Jenkins

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

Continuous Deployment and the Jenkins Pipeline

  • Continuous Deployment
  • 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
  • Parallel Execution
  • Creating a Pipeline
  • Invoking the Pipeline
  • Interacting with the Pipeline
19

Best Practices for Jenkins

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

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X