8117  Reviews star_rate star_rate star_rate star_rate star_half

DevOps Foundations for Java with GIT, Jenkins, and Maven

DevOps is the combination of cultural philosophies, practices, and tools that increases an organization's abil1ity to delivery applications and services at high velocity. Under a DevOps model, a...

Read More
$2,090 USD
Course Code WA2621
Duration 3 days
Available Formats Classroom

DevOps is the combination of cultural philosophies, practices, and tools that increases an organization's abil1ity to delivery applications and services at high velocity. Under a DevOps model, a development and operations teams are no longer "siloed". Quality assurance team also becomes more tightly integrated with development and operations and throughout the application lifecycle.

Skills Gained

  • What DevOps is
  • Version Control with Git
  • Build Java Projects with Maven
  • Continuous Integration with Jenkins
  • Integrate Git with Jenkins
  • Implement Continuous Code Quality with SonarQube

Who Can Benefit

Software Developers, Team Leads, Enterprise Architects, Solution Architects, and Information Technology Architects

Prerequisites

Some knowledge of Java is beneficial

Course Details

Course Outline

Chapter 1. DevOps Fundamentals

  • Why DevOps
  • What is DevOps?
  • Collaborative, Matrixed and Cross-Functional Teams
  • Key Components of Successful DevOps Teams
  • DevOps-ification
  • DevOps Vocabulary
  • DevOps Goals
  • Not DevOps - Crush Buzzwords
  • Driving Business Outcomes with DevOps
  • Technology-Enabled Business
  • DevOps Key Enabler for Digital Transformation
  • Core Values and Mission
  • Core Values - Culture
  • Core Values - Automation
  • Core Values - Measurement
  • Core Values - Sharing
  • Communication
  • Collaboration
  • Value Stream Mapping
  • Behavioral Patterns for Success
  • DevOps Org Structures
  • DevOps Team - Separate
  • DevOps Merged Organization
  • DevOps Overlapped Organization
  • Organizational Structure Leadership
  • What Does Continuous Delivery Mean?
  • Deployment Pipelines
  • Your Organization is Doing CD if …
  • Pipelining for CD
  • Continuous Integration
  • CI Pipeline
  • CD & CI Methodologies
  • Key Tool Categories for CI/CD
  • Summary

Chapter 2. Introduction to Git

  • What is Git
  • Git's Design Goals
  • Git's Design Goals (cont'd)
  • Branching and Merging
  • Branching and Merging (cont'd)
  • Centralized Version Control
  • Distributed Version Control
  • Git Basics
  • Git Basics (Cont'd)
  • Git Basics (cont'd)
  • Getting Git
  • Git on the Server
  • Git Repository Managers
  • Git on Somebody Else's Server
  • Summary

Chapter 3. Basic Git Operations

  • Using Git
  • Definitions
  • Definitions (cont'd)
  • Repository (cont'd)
  • Definitions (cont'd)
  • Commit
  • Commit (continued)
  • How to Think About Commits
  • Viewing History
  • Configuring Git
  • Configuration Scope
  • User Identification
  • User Identification (cont'd)
  • GPG Signing
  • Gnu Privacy Guard
  • GPG Basics
  • GPG and Git
  • .gitignore
  • Other Useful Configurations
  • Summary

Chapter 4. Branching, Merging and Remotes

  • Branching
  • Branches in Git
  • Branches in Git (cont'd)
  • Merge
  • Merge (cont'd)
  • Fast Forward Merge
  • --no-ff
  • More Than One Repository
  • Working with Remotes
  • Fetch and Pull
  • Push
  • Pull Requests
  • Tagging a Commit
  • Lightweight Tags
  • Annotated Tags
  • Sharing Tags
  • Checking Out a Tag
  • Summary

Chapter 5. Introduction to Git Flow

  • Why Use an SCM Workflow?
  • Why Use an SCM Workflow? (Cond.)
  • What is Git Flow
  • Benefits
  • How Git Flow works?
  • How Git Flow works? (Contd.)
  • What is Git Flow? (Contd.)
  • How Git Flow works? (Contd.)
  • Git Flow Extension
  • Initializing Git Flow
  • Features
  • Release
  • Hotfixes
  • Git Flow and Continuous Integration
  • Git Flow – Summary
  • Git Flow – Pros and Cons
  • Git Flow – When it Works Best?
  • Git Flow – When it Doesn’t Work?
  • Git Flow Alternatives
  • Trunk-based Development
  • Trunk-based Development (Contd.)
  • Trunk-based Development – When it Works?
  • Trunk-based Development – When it Doesn’t Work?
  • GitHub Flow
  • GitHub Flow – Pros and Cons
  • GitLab Flow
  • GitLab Flow – Environment Branches
  • GitLab Flow – Release Branches
  • GitLab Flow – Release Branches (Contd.)
  • GitLab Flow – Pros and Cons
  • Summary

Chapter 6. Continuous Code Quality

  • Continuous Code Quality
  • What is SonarQube
  • SonarQube - Benefits
  • SonarQube (Multilingual)
  • Seven Axes of Quality
  • Potential Bugs
  • Tests
  • Comments and Duplication
  • Architecture and Design
  • Complexity
  • SonarQube Installation
  • SonarQube Components
  • Code Quality (LOC, Code Smells)
  • Code Quality (Project Files)
  • Code Quality (Code)
  • Summary

Chapter 7. Introduction to Continuous Integration, Continuous Delivery and Jenkins-CI

  • Foundation of Agile AppDev
  • XP Flow
  • Extreme Programming
  • Agile Development
  • What is Continuous Integration
  • What is Continuous Integration (cont'd)
  • Typical Setup for Continuous Integration
  • Setup Notes for Continuous Integration
  • CI with Artifact Management
  • What is Continuous Delivery?
  • Why Continuous Delivery?
  • DevOps and Continuous Delivery
  • Continuous Delivery Challenges
  • Continuous Delivery vs Continuous Deployment
  • Jenkins Continuous Integration
  • Jenkins Features
  • Running Jenkins
  • Summary

Chapter 8. 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 9. Installing and Running Apache Maven

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

Chapter 10. 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 11. 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
  • Service Accounts
  • Storing Credentials (cont'd)
  • Build Triggers
  • Schedule Build Jobs
  • Polling the SCM
  • Polling vs Triggers
  • Maven Build Steps
  • Summary

Chapter 12. 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 13. 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 14. 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 15. Creating Archetypes

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

Chapter 16. 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 17. Release Management

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

Chapter 18. Jenkins Plugins

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

Chapter 19. 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
  • Role Based Access Control
  • Conclusion

Chapter 20. Distributed Builds with Jenkins

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

Chapter 21. Continuous Delivery and the Jenkins Pipeline

  • Continuous Delivery
  • Continuous Delivery (cont'd)
  • DevOps and Continuous Delivery
  • Continuous Delivery Challenges
  • Continuous Delivery 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
  • Pipeline vs Traditional Jobs
  • Conclusion

Chapter 22. Best Practices for Jenkins

  • Best Practices - Secure Jenkins
  • Best Practices - Users
  • 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. Version Control - Git
  • Lab 2. Branching, Merging and Working with Remotes
  • Lab 3. GitFlow Workflow
  • Lab 4. Configure Tools in Jenkins
  • Lab 5. Maven configuration
  • Lab 6. Create a Maven Project
  • Lab 7. Create a Web Application from an Archetype
  • Lab 8. Create a Jenkins Job
  • Lab 9. A Multi-Module Project
  • Lab 10. Create a Standard Set of Dependencies
  • Lab 11. Write a Simple Maven Plugin
  • Lab 12. Create an Archetype
  • Lab 13. Create a Corporate Repository with Artifactory
  • Lab 14. Deploy to the Corporate Repository with Artifactory
  • Lab 15. Add Development Metrics
  • Lab 16. Create a Pipeline